Skip to content

Commit

Permalink
chore: use new PKG_NODE_PATH env var
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Oct 23, 2023
1 parent 5f1cf8a commit dfc9b81
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/package_armv7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@ jobs:
- name: Build for armv7
run: |
mkdir -p ~/.cache/pkg
export PKG_CACHE_PATH=~/.cache/pkg
export PKG_IGNORE_TAG=true
curl https://github.com/yao-pkg/pkg-binaries/releases/download/node16/built-v16.16.0-linux-armv7 -LOJ
mv built-v16.16.0-linux-armv7 $PKG_CACHE_PATH/built-v${{ matrix.node-version }}-linux-armv7
export NODE_PATCH=built-v16.16.0-linux-armv7
export PKG_NODE_PATH=./${NODE_PATCH}
curl https://github.com/yao-pkg/pkg-binaries/releases/download/node16/${NODE_PATCH} -LOJ
yarn pkg --skip-build --arch=armv7
- name: Upload artifacts
Expand Down

0 comments on commit dfc9b81

Please sign in to comment.