Upgrade to github actions v4

This commit is contained in:
jangko 2024-02-14 07:36:31 +07:00
parent c1d640184b
commit a58baa4162
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ jobs:
runs-on: ${{ matrix.builder }} runs-on: ${{ matrix.builder }}
steps: steps:
- name: Checkout nim-ethash - name: Checkout nim-ethash
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: nim-ethash path: nim-ethash
submodules: false submodules: false
@ -61,7 +61,7 @@ jobs:
- name: Restore MinGW-W64 (Windows) from cache - name: Restore MinGW-W64 (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-${{ matrix.target.cpu }}' key: 'mingw-${{ matrix.target.cpu }}'
@ -69,7 +69,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 }}'
@ -123,7 +123,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 }}' key: '${{ matrix.test_lang }}-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nimbus_build_system }}'