blob: 337d3f563bbe14bc94b1ede771236d7338881012 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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
|