Update .forgejo/workflows/test.yaml
Some checks failed
AUR Publish / build-and-publish (push) Failing after 11s
Some checks failed
AUR Publish / build-and-publish (push) Failing after 11s
This commit is contained in:
parent
509de320de
commit
ec6ba75fa8
1 changed files with 3 additions and 23 deletions
|
@ -11,12 +11,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Setup Arch Linux environment
|
- name: Setup Arch Linux environment
|
||||||
uses: actions/setup-linux@v2
|
uses: docker://archlinux:latest
|
||||||
with:
|
|
||||||
distribution: 'archlinux'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -26,21 +24,3 @@ jobs:
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: |
|
run: |
|
||||||
pkgctl build
|
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
|
|
Loading…
Add table
Reference in a new issue