Skip to content

Commit

Permalink
Update build_package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Teingi authored Nov 27, 2024
1 parent fd7224a commit fda9865
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,16 @@ jobs:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

steps:
- name: checkout fix
- name: Run on old node
run: |
cd $RUNNER_HOME/actions-runner/externals
mv node20 node20.bak
ln -s node16 node20
sudo yum update -y
sudo yum install -y wget
touch "$HOME/.bashrc"
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 16
- name: Checkout code
uses: actions/checkout@v3

Expand Down

0 comments on commit fda9865

Please sign in to comment.