File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -147,11 +147,24 @@ jobs:
147147 steps :
148148 - uses : actions/checkout@v4
149149
150- - name : Create ArchLinux PKGBUILD
151- run : |
152- VERSION=$(echo ${{ github.ref_name }} | sed 's/^v//')
153- cd packaging/archlinux
154- ./build-arch.sh "$VERSION"
150+ - name : Build (Arch PKGBUILD)
151+ uses : addnab/docker-run-action@v3
152+ with :
153+ image : archlinux:base-devel
154+ options : -v ${{ github.workspace }}:/workspace
155+ run : |
156+ pacman -Sy --noconfirm git base-devel sudo
157+ useradd -m builder
158+ echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
159+ chown -R builder:builder /workspace
160+ git config --global --add safe.directory /workspace
161+ sudo -u builder bash -c "
162+ cd /workspace
163+ git config --global --add safe.directory /workspace
164+ VERSION=$(echo ${{ github.ref_name }} | sed 's/^v//')
165+ cd packaging/archlinux
166+ ./build-arch.sh \"\$VERSION\"
167+ "
155168
156169 - name : Upload ArchLinux package files
157170 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 11# Maintainer: OpenSVM <[email protected] >22pkgname=osvm
3- pkgver=0.8.2-test
3+ pkgver=0.8.3
44pkgrel=1
55pkgdesc=" OpenSVM CLI tool for managing SVM nodes and deployments"
66arch=(' x86_64' ' aarch64' )
@@ -9,7 +9,7 @@ license=('MIT')
99depends=(' glibc' )
1010makedepends=(' rust' ' cargo' ' pkg-config' ' openssl' ' systemd-libs' )
1111source=(" ${pkgname} -${pkgver} .tar.gz::https://github.com/openSVM/osvm-cli/archive/v${pkgver} .tar.gz" )
12- sha256sums=(' eaec5c0679db60874389d00acd89c000f41e8d928cf2cd6aa860df2b089ff802 ' )
12+ sha256sums=(' 5af35631fd31c78a8a1305d9f2b54bff9d11feca3f3c637750838323f47ed29b ' )
1313
1414prepare () {
1515 cd " ${pkgname} -cli-${pkgver} "
You can’t perform that action at this time.
0 commit comments