arch.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. inputs:
  9. -
  10. push:
  11. branches: [main]
  12. paths:
  13. - 'packaging/archlinux/**'
  14. - '.github/workflows/**'
  15. jobs:
  16. publish:
  17. if: ${{ github.event.workflow_run.conclusion == 'success' }}
  18. runs-on: ubuntu-latest
  19. steps:
  20. - name: Checkout
  21. uses: actions/checkout@v2
  22. with:
  23. submodules: true
  24. - name: Publish linux-wallpaperengine-git to the AUR
  25. uses: KSXGitHub/github-actions-deploy-aur@v2.7.2
  26. with:
  27. pkgname: linux-wallpaperengine-git
  28. pkgbuild: ./packaging/archlinux/PKGBUILD
  29. commit_username: ${{ secrets.AUR_USERNAME }}
  30. commit_email: ${{ secrets.AUR_EMAIL }}
  31. ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
  32. commit_message: Update AUR package
  33. force_push: 'true'
  34. test: true
  35. test_flags: --clean --cleanbuild --nodeps --nobuild