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:
|
||||
- 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
|
Loading…
Add table
Reference in a new issue