-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (46 loc) · 1.42 KB
/
aur_publish.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Package for the AUR
# Only run when pushed to main
on:
push:
paths:
- aur/**
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
publish:
strategy:
fail-fast: false
matrix:
include:
- pkgname: swayfx
assets: |
./aur/swayfx/sway-portals.conf
./aur/swayfx/50-systemd-user.conf
./aur/swayfx/sway.install
- pkgname: swayfx-git
assets: |
./aur/swayfx-git/sway-portals.conf
./aur/swayfx-git/50-systemd-user.conf
./aur/swayfx-git/sway.install
- pkgname: scenefx
- pkgname: scenefx-git
runs-on: ubuntu-latest
name: ${{ matrix.pkgname }}
steps:
- name: Check out sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Publish AUR Stable package
uses: ulises-jeremias/github-actions-aur-publish@v1
with:
pkgname: ${{ matrix.pkgname }}
pkgbuild: aur/${{matrix.pkgname}}/PKGBUILD
assets: ${{ matrix.assets }}
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: Update AUR package
ssh_keyscan_types: rsa,ecdsa,ed25519
update_pkgver: false