aur.yml 1.0 KB

1234567891011121314151617181920212223242526272829
  1. name: AUR
  2. # linux-wallpaperengine-kde-git follows main by itself, it only needs publishing when its PKGBUILD changes. The -bin
  3. # package is published by the release workflow (cmake.yml) once the release has its tarballs
  4. on:
  5. workflow_dispatch:
  6. push:
  7. branches: [main]
  8. paths:
  9. - 'packaging/aur/linux-wallpaperengine-kde-git/**'
  10. jobs:
  11. publish:
  12. runs-on: ubuntu-latest
  13. env:
  14. HAS_AUR_KEY: ${{ secrets.AUR_SSH_PRIVATE_KEY != '' }}
  15. steps:
  16. - uses: actions/checkout@v7
  17. - name: Publish linux-wallpaperengine-kde-git to the AUR
  18. if: env.HAS_AUR_KEY == 'true'
  19. uses: KSXGitHub/github-actions-deploy-aur@v4.1.1
  20. with:
  21. pkgname: linux-wallpaperengine-kde-git
  22. pkgbuild: ./packaging/aur/linux-wallpaperengine-kde-git/PKGBUILD
  23. commit_username: ${{ secrets.AUR_USERNAME }}
  24. commit_email: ${{ secrets.AUR_EMAIL }}
  25. ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
  26. commit_message: ${{ github.event.head_commit.message || 'Update PKGBUILD' }}