From 6082affc70fd096a1617f9a53cf2367d33c8273b Mon Sep 17 00:00:00 2001 From: starg2 <75976488+starg2@users.noreply.github.com> Date: Fri, 3 May 2024 17:15:00 +0900 Subject: [PATCH] [actions] Update GitHub actions --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a65d610..4cdad107 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: shell: pwsh steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: timidity41 fetch-depth: 0 @@ -49,7 +49,7 @@ jobs: - name: Cache toolchain (x86) id: cache-toolchain-mingw32 if: ${{ matrix.arch == 'x86' }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: mingw32 key: v2024-04-10/gcc-13.2.0_i686-win32-dwarf-ucrt @@ -64,7 +64,7 @@ jobs: - name: Cache toolchain (x64) id: cache-toolchain-mingw64 if: ${{ matrix.arch == 'x64' }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: mingw64 key: v2024-04-10/gcc-13.2.0_x86_64-win32-seh-ucrt @@ -120,7 +120,7 @@ jobs: robocopy "$env:TOOLCHAINDIR_W\licenses\mingw-w64" "$env:TIM41_DESCRIBE-${{ matrix.arch }}-${{ matrix.simd }}" COPYING.MinGW-w64-runtime.txt; if ($LASTEXITCODE -le 1) { $LASTEXITCODE = 0 } 7z a "$env:TIM41_DESCRIBE-${{ matrix.arch }}-${{ matrix.simd }}.zip" "$env:TIM41_DESCRIBE-${{ matrix.arch }}-${{ matrix.simd }}" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: timidity41-${{ matrix.arch }}-${{ matrix.simd }} path: ${{ env.TIM41_DESCRIBE }}-${{ matrix.arch }}-${{ matrix.simd }}.zip @@ -138,7 +138,7 @@ jobs: contents: write steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: artifact @@ -148,7 +148,7 @@ jobs: - name: Generate release name run: echo "RELEASE_NAME=$GITHUB_REF_NAME" | sed 's/tim/TiMidity++ 41 version /' >> $GITHUB_ENV - - uses: softprops/action-gh-release@v1 + - uses: softprops/action-gh-release@v2 with: name: ${{ env.RELEASE_NAME }} files: '*.zip'