Skip to content

Commit 988cd60

Browse files
committed
Update workflow
1 parent 36c615d commit 988cd60

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.github/archlinux/.SRCINFO

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pkgname = prjtrellis-git

.github/archlinux/PKGBUILD

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
_prj=trellis
44
_pkgname=prj$_prj
55
pkgname=$_pkgname-git
6-
_commit=%COMMIT%
76
pkgver=dummy
87
pkgrel=1
98
pkgdesc='Documentation and definitions for the Lattice ECP5 bit-stream format'
@@ -15,7 +14,7 @@ makedepends=('git' 'cmake' 'boost' 'python-sphinx' 'python-sphinx_rtd_theme' 'py
1514
optdepends=('python: Python support')
1615
provides=("$_pkgname")
1716
conflicts=("$_pkgname")
18-
source=("git+$url.git#commit=$_commit")
17+
source=("git+$url.git")
1918
sha512sums=('SKIP')
2019

2120
pkgver() {

.github/workflows/arch-pkg.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,12 @@ on: [push, pull_request]
44
jobs:
55
arch-pkg:
66
runs-on: ubuntu-latest
7-
container:
8-
image: archlinux
9-
options: --privileged
10-
volumes:
11-
- /sys/fs/cgroup:/sys/fs/cgroup
127
steps:
13-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v4
149
- name: Build Arch Linux package
15-
uses: FFY00/build-arch-package@v1
10+
uses: 2m/arch-pkgbuild-builder@v1.21
1611
with:
17-
PKGBUILD: $GITHUB_WORKSPACE/.github/archlinux/PKGBUILD
12+
target: 'pkgbuild'
13+
pkgname: '.github/archlinux'
1814

1915

0 commit comments

Comments
 (0)