Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/arm64 cli #1

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
grab argon2 version from cli package.json
mloiseleur committed Dec 27, 2023
commit 75a872d29bf3b32d9e76e38787b6b0679b31a093
4 changes: 3 additions & 1 deletion .github/workflows/build-cli.yml
Original file line number Diff line number Diff line change
@@ -187,7 +187,9 @@ jobs:
- name: Download argon2-node binary for arm64
working-directory: ./
run: |
curl -L -o argon2.tar.gz https://github.com/ranisalt/node-argon2/releases/download/v0.31.2/argon2-v0.31.2-napi-v3-linux-arm64-glibc.tar.gz
ARGON2_VERSION=$(grep '"argon2":' apps/cli/package.json | sed -e 's/.*"argon2": "\(.*\)",/\1/g')
echo "ARGON2_VERSION: ${ARGON2_VERSION}"
curl -L -o argon2.tar.gz "https://github.com/ranisalt/node-argon2/releases/download/v${ARGON2_VERSION}/argon2-v${ARGON2_VERSION}-napi-v3-linux-arm64-glibc.tar.gz"
tar xvzf argon2.tar.gz
mv napi-v3/argon2.node node_modules/argon2/lib/binding/napi-v3/argon2.node
rm -rf argon2.tar.gz napi-v3