-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (44 loc) · 1.37 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
name: Package for the AUR
# Only run when pushed to main
on:
push:
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: |
./swayfx/sway-portals.conf
./swayfx/50-systemd-user.conf
./swayfx/sway.install
- pkgname: swayfx-git
assets: |
./swayfx-git/sway-portals.conf
./swayfx-git/50-systemd-user.conf
./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: ${{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,dsa,ecdsa,ed25519
update_pkgver: false