diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index 451179e..66e7aa6 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -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 \ No newline at end of file + pkgctl build \ No newline at end of file