blob: efb54815c2379801917336851cced07e9aa20aab (
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
|
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
|