Skip to content

Commit

Permalink
update action v3
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoXuan40404 committed Nov 20, 2024
1 parent 5daad65 commit 6246ea3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 5
- name: Nightly default
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
matrix:
os: [windows-2019]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 5
- run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,15 @@ jobs:

build_with_centos:
name: build_with_centos
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: "node16"
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: "node16"
runs-on: ubuntu-latest
container:
image: docker.io/centos:7
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 5
- name: install rust language
Expand All @@ -91,7 +95,6 @@ jobs:
override: true
- name: install CentOS dependencies
run: |
yum install -y epel-release centos-release-scl
yum install -y java-11-openjdk-devel git make gcc gcc-c++ glibc-static glibc-devel openssl openssl-devel cmake3 ccache devtoolset-7 libzstd-devel zlib-devel flex bison python-devel python3-devel perl-IPC-Cmd && source /opt/rh/devtoolset-7/enable
- name: configure and compile
run: |
Expand Down

0 comments on commit 6246ea3

Please sign in to comment.