Skip to content

Commit

Permalink
fix(ci): update ci for ubuntu18.04(#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
minhanghuang committed Dec 10, 2024
1 parent 1eb74e0 commit d54cef7
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/ubuntu18-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ run-name: ubuntu18 x86-64
# make GHA actions use node16 which still works with bionic
# See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
# Unclear how long this will work though
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
# env:
# ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

on:
push:
Expand All @@ -22,9 +22,21 @@ jobs:
container:
image: docker://ubuntu:18.04
options: --volume ${{ github.workspace }}:/workspace/${{ github.repository }}
# steps:
# - name: Check out repository code
# uses: actions/checkout@v2
env: {ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true} # Allow using Node16 actions
steps:
- name: Run on old node
run: |
echo "Run on old node"
echo "Run on old node"
echo "Run on old node"
apt update && apt -y install 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 v16.20.2
- name: Check out repository code
uses: actions/checkout@v3
# - name: Install
# env:
# DEBIAN_FRONTEND: noninteractive
Expand Down

0 comments on commit d54cef7

Please sign in to comment.