From adc9ce05c7743a2999be6e9f4ab57f7ac269bf24 Mon Sep 17 00:00:00 2001 From: HaoXuan40404 <444649358@qq.com> Date: Tue, 19 Nov 2024 19:45:58 +0800 Subject: [PATCH] update action v3 --- .github/workflows/release.yml | 4 ++-- .github/workflows/workflow.yml | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0ba366..af6c3ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 4a66d24..d491c40 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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