Skip to content

Commit

Permalink
GitHub CI: NetBSD version agnostic PKG_PATH definition
Browse files Browse the repository at this point in the history
This is the portable way to set the PKG_PATH env variable, to accommodate future NetBSD version bumps.
  • Loading branch information
rdmark committed Jan 18, 2025
1 parent dfc6b08 commit 0706f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ jobs:
with:
copyback: false
prepare: |
export PKG_PATH=http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.1/All/
export PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/"
pkg_add \
bison \
db5 \
Expand Down

0 comments on commit 0706f15

Please sign in to comment.