@@ -136,3 +136,84 @@ jobs:
136136| `warning_on_retry` | no | `'true'` |
137137| `shell` | no | `'bash'` |
138138
139+ # # AUR packaging
140+
141+ Composite actions for Arch Linux AUR publishers running in an Arch
142+ builder container as root with a `runner` user. `aur-setup` chains the
143+ full in-job setup in one pinned step; the four granular actions below
144+ are available separately for custom flows.
145+
146+ # ## Quick Start
147+
148+ ` ` ` yml
149+ - name: Setup AUR packaging
150+ if: github.event.release.tag_name
151+ uses: hrzlgnm/actions/.github/actions/aur-setup@v2.12.0
152+ with:
153+ package-name: ${{ matrix.package.name }}
154+ release-version: ${{ needs.release-info.outputs.version }}
155+ deploy-key: ${{ secrets.AUR_DEPLOY_KEY }}
156+ ` ` `
157+
158+ | Input | Required | Default |
159+ | --- | --- | --- |
160+ | `package-name` | yes | — |
161+ | `release-version` | yes | — |
162+ | `deploy-key` | yes | — |
163+
164+ Granular actions (pin like `hrzlgnm/actions/.github/actions/aur-setup-ssh@v2.11.0`) :
165+
166+ # ## Fix AUR checkout ownership
167+
168+ Chowns the checkout to `runner` (AUR builder containers run as root).
169+ No inputs.
170+
171+ ` ` ` yml
172+ - uses: hrzlgnm/actions/.github/actions/aur-fix-ownership@v2.11.0
173+ ` ` `
174+
175+ # ## Setup AUR SSH deployment key
176+
177+ Installs the deploy key and pins the `aur.archlinux.org` host keys to
178+ the Arch-published fingerprints (verified, retrying).
179+
180+ ` ` ` yml
181+ - uses: hrzlgnm/actions/.github/actions/aur-setup-ssh@v2.11.0
182+ with:
183+ deploy-key: ${{ secrets.AUR_DEPLOY_KEY }}
184+ ` ` `
185+
186+ | Input | Required | Default |
187+ | --- | --- | --- |
188+ | `deploy-key` | yes | — |
189+
190+ # ## Clone AUR repo
191+
192+ Clones the AUR package repository to `~/aur`, discarding any previous
193+ checkout (retrying).
194+
195+ ` ` ` yml
196+ - uses: hrzlgnm/actions/.github/actions/aur-clone-repo@v2.11.0
197+ with:
198+ package-name: ${{ matrix.package.name }}
199+ ` ` `
200+
201+ | Input | Required | Default |
202+ | --- | --- | --- |
203+ | `package-name` | yes | — |
204+
205+ # ## Check AUR version
206+
207+ Fails unless the release version is strictly higher than the `pkgver`
208+ recorded in the `~/aur` checkout.
209+
210+ ` ` ` yml
211+ - uses: hrzlgnm/actions/.github/actions/aur-check-version@v2.11.0
212+ with:
213+ release-version: ${{ needs.release-info.outputs.version }}
214+ ` ` `
215+
216+ | Input | Required | Default |
217+ | --- | --- | --- |
218+ | `release-version` | yes | — |
219+
0 commit comments