From ce3d36bad59cca62410e53d7d81a42f1b746f806 Mon Sep 17 00:00:00 2001 From: Coldwings Date: Tue, 18 Jun 2024 12:36:12 +0800 Subject: [PATCH] Update actions that cause nodejs16 warning in gh actions --- .github/workflows/auto-pr.yml | 2 +- .github/workflows/ci.linux.arm.yml | 8 ++++---- .github/workflows/ci.linux.x86-64.yml | 20 ++++++++++---------- .github/workflows/ci.macos.arm.yml | 4 ++-- .github/workflows/ci.macos.x86.yml | 4 ++-- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-pr.yml index 58e430c1..7a0d6c7c 100644 --- a/.github/workflows/auto-pr.yml +++ b/.github/workflows/auto-pr.yml @@ -13,7 +13,7 @@ jobs: GH_TOKEN: ${{ github.token }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create Pull Request to the next higher release version diff --git a/.github/workflows/ci.linux.arm.yml b/.github/workflows/ci.linux.arm.yml index bd045a5a..81f2d92d 100644 --- a/.github/workflows/ci.linux.arm.yml +++ b/.github/workflows/ci.linux.arm.yml @@ -15,13 +15,13 @@ jobs: options: --cpus 4 steps: - - uses: szenius/set-timezone@v1.2 + - uses: szenius/set-timezone@v2.0 with: timezoneLinux: "Asia/Shanghai" timezoneMacos: "Asia/Shanghai" timezoneWindows: "China Standard Time" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: | @@ -48,13 +48,13 @@ jobs: options: --cpus 4 steps: - - uses: szenius/set-timezone@v1.2 + - uses: szenius/set-timezone@v2.0 with: timezoneLinux: "Asia/Shanghai" timezoneMacos: "Asia/Shanghai" timezoneWindows: "China Standard Time" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: | diff --git a/.github/workflows/ci.linux.x86-64.yml b/.github/workflows/ci.linux.x86-64.yml index 32a75cc4..08c1c8b1 100644 --- a/.github/workflows/ci.linux.x86-64.yml +++ b/.github/workflows/ci.linux.x86-64.yml @@ -13,12 +13,12 @@ jobs: image: ghcr.io/coldwings/photon-ut-base:latest options: --cpus 4 --privileged steps: - - uses: szenius/set-timezone@v1.2 + - uses: szenius/set-timezone@v2.0 with: timezoneLinux: "Asia/Shanghai" timezoneMacos: "Asia/Shanghai" timezoneWindows: "China Standard Time" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build850 run: | rm -fr build @@ -45,12 +45,12 @@ jobs: image: ghcr.io/coldwings/photon-ut-base:latest options: --cpus 4 --privileged steps: - - uses: szenius/set-timezone@v1.2 + - uses: szenius/set-timezone@v2.0 with: timezoneLinux: "Asia/Shanghai" timezoneMacos: "Asia/Shanghai" timezoneWindows: "China Standard Time" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build921 run: | source /opt/rh/gcc-toolset-9/enable @@ -78,12 +78,12 @@ jobs: image: ghcr.io/coldwings/photon-ut-base:latest options: --cpus 4 --privileged steps: - - uses: szenius/set-timezone@v1.2 + - uses: szenius/set-timezone@v2.0 with: timezoneLinux: "Asia/Shanghai" timezoneMacos: "Asia/Shanghai" timezoneWindows: "China Standard Time" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build1031 run: | source /opt/rh/gcc-toolset-10/enable @@ -111,12 +111,12 @@ jobs: image: ghcr.io/coldwings/photon-ut-base:latest options: --cpus 4 --privileged steps: - - uses: szenius/set-timezone@v1.2 + - uses: szenius/set-timezone@v2.0 with: timezoneLinux: "Asia/Shanghai" timezoneMacos: "Asia/Shanghai" timezoneWindows: "China Standard Time" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build1121 run: | source /opt/rh/gcc-toolset-11/enable @@ -144,12 +144,12 @@ jobs: image: ghcr.io/coldwings/photon-ut-base:latest options: --cpus 4 --privileged steps: - - uses: szenius/set-timezone@v1.2 + - uses: szenius/set-timezone@v2.0 with: timezoneLinux: "Asia/Shanghai" timezoneMacos: "Asia/Shanghai" timezoneWindows: "China Standard Time" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build1211 run: | source /opt/rh/gcc-toolset-12/enable diff --git a/.github/workflows/ci.macos.arm.yml b/.github/workflows/ci.macos.arm.yml index 737e6600..e7e14f96 100644 --- a/.github/workflows/ci.macos.arm.yml +++ b/.github/workflows/ci.macos.arm.yml @@ -11,13 +11,13 @@ jobs: runs-on: macos-14 steps: - - uses: szenius/set-timezone@v1.2 + - uses: szenius/set-timezone@v2.0 with: timezoneLinux: "Asia/Shanghai" timezoneMacos: "Asia/Shanghai" timezoneWindows: "China Standard Time" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Dependencies shell: bash diff --git a/.github/workflows/ci.macos.x86.yml b/.github/workflows/ci.macos.x86.yml index 81e6bf34..240239e5 100644 --- a/.github/workflows/ci.macos.x86.yml +++ b/.github/workflows/ci.macos.x86.yml @@ -11,13 +11,13 @@ jobs: runs-on: macos-13 steps: - - uses: szenius/set-timezone@v1.2 + - uses: szenius/set-timezone@v2.0 with: timezoneLinux: "Asia/Shanghai" timezoneMacos: "Asia/Shanghai" timezoneWindows: "China Standard Time" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Dependencies shell: bash