Skip to content

Commit

Permalink
[actions] Update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
starg2 committed May 3, 2024
1 parent ca98f20 commit 6082aff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
shell: pwsh

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: timidity41
fetch-depth: 0
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -138,7 +138,7 @@ jobs:
contents: write

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: artifact

Expand All @@ -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'

0 comments on commit 6082aff

Please sign in to comment.