Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Jan 29, 2024
1 parent 36c615d commit 988cd60
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/archlinux/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pkgname = prjtrellis-git
3 changes: 1 addition & 2 deletions .github/archlinux/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
_prj=trellis
_pkgname=prj$_prj
pkgname=$_pkgname-git
_commit=%COMMIT%
pkgver=dummy
pkgrel=1
pkgdesc='Documentation and definitions for the Lattice ECP5 bit-stream format'
Expand All @@ -15,7 +14,7 @@ makedepends=('git' 'cmake' 'boost' 'python-sphinx' 'python-sphinx_rtd_theme' 'py
optdepends=('python: Python support')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url.git#commit=$_commit")
source=("git+$url.git")
sha512sums=('SKIP')

pkgver() {
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/arch-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@ on: [push, pull_request]
jobs:
arch-pkg:
runs-on: ubuntu-latest
container:
image: archlinux
options: --privileged
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build Arch Linux package
uses: FFY00/build-arch-package@v1
uses: 2m/arch-pkgbuild-builder@v1.21
with:
PKGBUILD: $GITHUB_WORKSPACE/.github/archlinux/PKGBUILD
target: 'pkgbuild'
pkgname: '.github/archlinux'


0 comments on commit 988cd60

Please sign in to comment.