File tree Expand file tree Collapse file tree 4 files changed +49
-0
lines changed
Expand file tree Collapse file tree 4 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ tags :
4+ - " aur/*"
5+
6+ jobs :
7+ sync :
8+ runs-on : ubuntu-latest
9+ container :
10+ image : ghcr.io/arjix-aur/runner-image-arch:latest
11+ permissions :
12+ contents : write
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : ccache
16+ uses : hendrikmuhs/ccache-action@v1.2
17+
18+ - name : build packages
19+ run : |
20+ cp build.sh /home/docker
21+ cd /home/docker
22+ runuser -u docker ./build.sh
23+
24+ - name : Release
25+ uses : softprops/action-gh-release@v2
26+ with :
27+ files : " /home/docker/*.pkg.tar.zst"
28+ fail_on_unmatched_files : true
Original file line number Diff line number Diff line change 1+ .vscode /
2+
Original file line number Diff line number Diff line change 1+ Template repository for building an AUR package and publishing the dist.
2+ Check ` ./build.sh ` , don't forget to update the ` PKG ` variable!
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -euo pipefail
4+ IFS=$' \n\t '
5+
6+ sudo pacman-key --init
7+ sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
8+ sudo pacman-key --lsign-key 3056513887B78AEB
9+
10+ paru -Syu --noconfirm --ignore linux
11+
12+ PKG=' $$TEMPLATE_PKG$$'
13+
14+ paru -G " $PKG "
15+ paru -B " $PKG " --noconfirm
16+
17+ cp " $PKG " /* .pkg.tar.zst .
You can’t perform that action at this time.
0 commit comments