name: Publish to AUR on: workflow_call: workflow_dispatch: permissions: {} jobs: publish: name: Publish to AUR runs-on: ubuntu-latest container: image: archlinux:base-devel env: SSH_KEY: ${{ secrets.SSH_KEY }} steps: # This step must be done before actions/checkout. From the latter's # output: # # To create a local Git repository instead, add Git 2.18 or higher to the PATH # - name: Install dependencies run: | pacman -Syu --noconfirm git openssh - name: Checkout uses: actions/checkout@v7 with: persist-credentials: false ref: aur token: ${{ secrets.GH_TOKEN }} - name: Run maintenance run: | make -C "$GITHUB_WORKSPACE" ci