upgrade github actions to v3
This commit is contained in:
parent
4ef25a2d03
commit
69592f4e5a
|
@ -8,7 +8,7 @@ jobs:
|
||||||
max-parallel: 20
|
max-parallel: 20
|
||||||
matrix:
|
matrix:
|
||||||
test_lang: [c]
|
test_lang: [c]
|
||||||
branch: [version-1-2, version-1-4, version-1-6, devel]
|
branch: [version-1-2, version-1-4, version-1-6]
|
||||||
target:
|
target:
|
||||||
- os: linux
|
- os: linux
|
||||||
cpu: amd64
|
cpu: amd64
|
||||||
|
@ -35,7 +35,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.builder }}
|
runs-on: ${{ matrix.builder }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout nim-graphql
|
- name: Checkout nim-graphql
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: nim-graphql
|
path: nim-graphql
|
||||||
submodules: false
|
submodules: false
|
||||||
|
@ -63,7 +63,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@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: external/mingw-${{ matrix.target.cpu }}
|
path: external/mingw-${{ matrix.target.cpu }}
|
||||||
key: 'mingw-${{ matrix.target.cpu }}'
|
key: 'mingw-${{ matrix.target.cpu }}'
|
||||||
|
@ -71,7 +71,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@v2
|
uses: actions/cache@v3
|
||||||
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@v2
|
uses: actions/cache@v3
|
||||||
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 }}'
|
||||||
|
|
Loading…
Reference in New Issue