From 0b0d165dd8a4a0d3c5509084178db9f24e16ce09 Mon Sep 17 00:00:00 2001 From: wh201906 Date: Sun, 10 Mar 2024 17:11:39 +0800 Subject: [PATCH] Bump version of GitHub Actions Use fixed version number in actions/upload-artifact --- .github/workflows/build-linux-multi-arch.yml | 6 +++--- .github/workflows/build-macos.yml | 2 +- .github/workflows/build-windows.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-linux-multi-arch.yml b/.github/workflows/build-linux-multi-arch.yml index 6fb4a89..5058ef5 100644 --- a/.github/workflows/build-linux-multi-arch.yml +++ b/.github/workflows/build-linux-multi-arch.yml @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: SerialTest @@ -45,7 +45,7 @@ jobs: mkdir ${{ runner.temp }}/shadow_build_dir - name: Build - uses: uraimo/run-on-arch-action@v2.6.0 + uses: uraimo/run-on-arch-action@v2.7.1 id: build with: arch: ${{ matrix.arch }} @@ -86,7 +86,7 @@ jobs: make -j$((`nproc` + 1)) && make clean - name: Save artifact - uses: actions/upload-artifact@master + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT }}_${{ matrix.arch }} path: ${{ runner.temp }}/shadow_build_dir/**/${{ env.ARTIFACT }} diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 69aef8a..29054ac 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: SerialTest diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index a30982b..861dcd1 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -37,7 +37,7 @@ jobs: run: git config --global core.autocrlf input - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download QCustomPlot run: | @@ -59,7 +59,7 @@ jobs: ls -l - name: Save artifact - uses: actions/upload-artifact@master + uses: actions/upload-artifact@v4 with: name: SerialTest-${{ matrix.sys }} path: ./release/*