Update .forgejo/workflows/test.yaml
Some checks failed
AUR Publish / build-and-publish (push) Failing after 11s

This commit is contained in:
Fijxu 2024-03-15 14:19:02 -03:00
parent 509de320de
commit ec6ba75fa8

View file

@ -11,12 +11,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v1
- name: Setup Arch Linux environment
uses: actions/setup-linux@v2
with:
distribution: 'archlinux'
uses: docker://archlinux:latest
- name: Install dependencies
run: |
@ -25,22 +23,4 @@ jobs:
- name: Build package
run: |
pkgctl build
- name: Push to AUR
env:
AUR_USERNAME: ${{ secrets.AUR_USERNAME }}
AUR_PASSWORD: ${{ secrets.AUR_PASSWORD }}
run: |
git clone https://aur.archlinux.org/your-package-name.git
cd your-package-name
cp PKGBUILD ../
cd ..
git clone https://aur.archlinux.org/your-package-name-git.git
cd your-package-name-git
cp ../PKGBUILD .
git config user.name "$AUR_USERNAME"
git config user.email "$AUR_USERNAME@users.noreply.github.com"
git add PKGBUILD
git commit -m "Update PKGBUILD"
git push
pkgctl build