Upgrade github actions to v4 (#149)

This commit is contained in:
andri lim 2024-02-27 19:55:11 +07:00 committed by GitHub
parent e639ba700c
commit 7bb0ccc784
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ jobs:
runs-on: ${{ matrix.builder }} runs-on: ${{ matrix.builder }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Set GCC 10 as default compiler (Linux) - name: Set GCC 10 as default compiler (Linux)
if: runner.os == 'Linux' && matrix.target.cpu != 'i386' if: runner.os == 'Linux' && matrix.target.cpu != 'i386'
@ -74,7 +74,7 @@ jobs:
- name: Restore llvm-mingw (Windows) from cache - name: Restore llvm-mingw (Windows) from cache
if: runner.os == 'Windows' if: runner.os == 'Windows'
id: windows-mingw-cache id: windows-mingw-cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: external/mingw-${{ matrix.target.cpu }} path: external/mingw-${{ matrix.target.cpu }}
key: 'mingw-llvm-17-${{ matrix.target.cpu }}' key: 'mingw-llvm-17-${{ matrix.target.cpu }}'
@ -100,7 +100,7 @@ jobs:
- name: Restore Nim DLLs dependencies (Windows) from cache - name: Restore Nim DLLs dependencies (Windows) from cache
if: runner.os == 'Windows' if: runner.os == 'Windows'
id: windows-dlls-cache id: windows-dlls-cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: external/dlls path: external/dlls
key: 'dlls' key: 'dlls'