From d3d5af6c7eced5a73154a1ccda3ef8012e066a66 Mon Sep 17 00:00:00 2001 From: CodingJellyfish Date: Tue, 10 Sep 2024 20:16:01 +0800 Subject: [PATCH] Update upload artifavt version --- .github/workflows/apple.yml | 2 +- .github/workflows/windows.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/apple.yml b/.github/workflows/apple.yml index 229e8b90ec9..c81ffbfd6b2 100644 --- a/.github/workflows/apple.yml +++ b/.github/workflows/apple.yml @@ -93,7 +93,7 @@ jobs: make -j4 mv bin ../${{ steps.sysroot.outputs.lowercase }}-${{ matrix.arch }} - name: Upload binaries - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ steps.sysroot.outputs.lowercase }}-${{ matrix.arch }} path: ${{ steps.sysroot.outputs.lowercase }}-${{ matrix.arch }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index cc5ca86f8c5..12cd79ba13f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -149,21 +149,21 @@ jobs: mv COPYING tools - name: Upload binaries of MinGW if: ${{ matrix.os == 'ubuntu-latest' }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.arch }} path: build/bin/* - name: Upload stk-code/data # We only need to upload stk-code/data once if: ${{ matrix.os == 'ubuntu-latest' && matrix.arch == 'i686'}} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: data path: data - name: Upload stk-code/tools # We only need to upload stk-code/tools once if: ${{ matrix.os == 'ubuntu-latest' && matrix.arch == 'i686'}} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: tools path: tools