arch.yml 1019 B

12345678910111213141516171819202122232425262728293031323334353637
  1. name: Arch Linux AUR Package Update
  2. on:
  3. workflow_run:
  4. workflows: [cmake]
  5. branches: [main]
  6. types: [completed]
  7. workflow_dispatch:
  8. push:
  9. branches: [main]
  10. paths:
  11. - 'packaging/archlinux/**'
  12. - '.github/workflows/**'
  13. jobs:
  14. publish:
  15. if: ${{ github.event.workflow_run.conclusion == 'success' }}
  16. runs-on: ubuntu-latest
  17. steps:
  18. - name: Checkout
  19. uses: actions/checkout@v2
  20. with:
  21. submodules: true
  22. - name: Publish linux-wallpaperengine-git to the AUR
  23. uses: KSXGitHub/github-actions-deploy-aur@v2.7.2
  24. with:
  25. pkgname: linux-wallpaperengine-git
  26. pkgbuild: ./packaging/archlinux/PKGBUILD
  27. commit_username: ${{ secrets.AUR_USERNAME }}
  28. commit_email: ${{ secrets.AUR_EMAIL }}
  29. ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
  30. commit_message: Update AUR package
  31. force_push: 'true'
  32. test: true
  33. test_flags: --clean --cleanbuild --nodeps --nobuild