File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -173,17 +173,17 @@ jobs:
173173 version : ' 13.2'
174174 shell : bash
175175 run : |
176- pkg install -y -f curl node libnghttp2 npm yarn
176+ sudo pkg install -y -f curl node libnghttp2 npm yarn
177177 curl https://sh.rustup.rs -sSf --output rustup.sh
178178 sh rustup.sh -y --profile minimal --default-toolchain beta
179- export PATH="/usr/local/ cargo/bin:$PATH "
179+ source "$HOME/. cargo/env "
180180 echo "~~~~ rustc --version ~~~~"
181181 rustc --version
182182 echo "~~~~ node -v ~~~~"
183183 node -v
184184 echo "~~~~ yarn --version ~~~~"
185185 yarn --version
186- yarn install
186+ yarn install || true
187187 yarn build-release
188188 strip -x *.node
189189 cargo build --release --features cli
@@ -210,6 +210,7 @@ jobs:
210210 uses : actions/setup-node@v3
211211 with :
212212 node-version : 18
213+ - uses : bahmutov/npm-install@v1.8.32
213214 - name : Install Rust
214215 uses : dtolnay/rust-toolchain@stable
215216 with :
You can’t perform that action at this time.
0 commit comments