Upgrade github actions to v4

This commit is contained in:
jangko 2024-01-27 15:20:05 +07:00
parent 2bdfec0eb7
commit 24bbfcb8e4
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ jobs:
runs-on: ${{ matrix.builder }} runs-on: ${{ matrix.builder }}
steps: steps:
- name: Checkout nim-toml-serialization - name: Checkout nim-toml-serialization
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: nim-toml-serialization path: nim-toml-serialization
submodules: false submodules: false
@ -67,7 +67,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 }}'
@ -93,7 +93,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-${{ matrix.target.cpu }} path: external/dlls-${{ matrix.target.cpu }}
key: 'dlls-${{ matrix.target.cpu }}' key: 'dlls-${{ matrix.target.cpu }}'
@ -125,7 +125,7 @@ jobs:
- name: Restore prebuilt Nim from cache - name: Restore prebuilt Nim from cache
id: nim-cache id: nim-cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: NimBinaries path: NimBinaries
key: '${{ matrix.test_lang }}-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nimbus_build_system }}-${{ matrix.branch }}' key: '${{ matrix.test_lang }}-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nimbus_build_system }}-${{ matrix.branch }}'