Skip to content

Commit

Permalink
fix freebsd build
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Aug 20, 2023
1 parent 21deea4 commit 3930139
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,17 +173,17 @@ jobs:
version: '13.2'
shell: bash
run: |
pkg install -y -f curl node libnghttp2 npm yarn
sudo pkg install -y -f curl node libnghttp2 npm yarn
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile minimal --default-toolchain beta
export PATH="/usr/local/cargo/bin:$PATH"
source "$HOME/.cargo/env"
echo "~~~~ rustc --version ~~~~"
rustc --version
echo "~~~~ node -v ~~~~"
node -v
echo "~~~~ yarn --version ~~~~"
yarn --version
yarn install
yarn install || true
yarn build-release
strip -x *.node
cargo build --release --features cli
Expand All @@ -210,6 +210,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- uses: bahmutov/[email protected]
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
Expand Down

0 comments on commit 3930139

Please sign in to comment.