chore(repo): fix publishing on freebsd (#19907)
This commit is contained in:
parent
c884e91f4d
commit
babb2e0569
24
.github/workflows/publish.yml
vendored
24
.github/workflows/publish.yml
vendored
@ -159,30 +159,30 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
uses: vmactions/freebsd-vm@v0
|
uses: cross-platform-actions/action@v0.15.0
|
||||||
env:
|
env:
|
||||||
DEBUG: napi:*
|
DEBUG: napi:*
|
||||||
RUSTUP_HOME: /usr/local/rustup
|
|
||||||
CARGO_HOME: /usr/local/cargo
|
|
||||||
RUSTUP_IO_THREADS: 1
|
RUSTUP_IO_THREADS: 1
|
||||||
with:
|
with:
|
||||||
envs: DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS
|
operating_system: freebsd
|
||||||
usesh: true
|
version: '13.2'
|
||||||
mem: 4096
|
architecture: x86-64
|
||||||
prepare: |
|
environment_variables: DEBUG RUSTUP_IO_THREADS
|
||||||
pkg install -y -f curl node libnghttp2 npm
|
shell: bash
|
||||||
npm install --location=global --ignore-scripts pnpm
|
run: |
|
||||||
|
env
|
||||||
|
whoami
|
||||||
|
sudo pkg install -y -f node libnghttp2 npm git
|
||||||
|
sudo npm install --location=global --ignore-scripts pnpm
|
||||||
curl https://sh.rustup.rs -sSf --output rustup.sh
|
curl https://sh.rustup.rs -sSf --output rustup.sh
|
||||||
sh rustup.sh -y --profile minimal --default-toolchain stable
|
sh rustup.sh -y --profile minimal --default-toolchain stable
|
||||||
export PATH="/usr/local/cargo/bin:$PATH"
|
source "$HOME/.cargo/env"
|
||||||
echo "~~~~ rustc --version ~~~~"
|
echo "~~~~ rustc --version ~~~~"
|
||||||
rustc --version
|
rustc --version
|
||||||
echo "~~~~ node -v ~~~~"
|
echo "~~~~ node -v ~~~~"
|
||||||
node -v
|
node -v
|
||||||
echo "~~~~ pnpm --version ~~~~"
|
echo "~~~~ pnpm --version ~~~~"
|
||||||
pnpm --version
|
pnpm --version
|
||||||
run: |
|
|
||||||
export PATH="/usr/local/cargo/bin:$PATH"
|
|
||||||
pwd
|
pwd
|
||||||
ls -lah
|
ls -lah
|
||||||
whoami
|
whoami
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user