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 permissions: contents: write 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: true ref: aur - name: Run maintenance env: SSH_KEY: ${{ secrets.SSH_KEY }} run: | make -C "$GITHUB_WORKSPACE" ci