add nim setup
This commit is contained in:
parent
6fadf32ee8
commit
59d45be045
|
@ -141,13 +141,18 @@ jobs:
|
||||||
echo "ncpu=$ncpu" >> $GITHUB_ENV
|
echo "ncpu=$ncpu" >> $GITHUB_ENV
|
||||||
echo "MAKE_CMD=${MAKE_CMD}" >> $GITHUB_ENV
|
echo "MAKE_CMD=${MAKE_CMD}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Restore Nim toolchain binaries from cache
|
- uses: jiro4989/setup-nim-action@v1
|
||||||
id: nim-cache
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
with:
|
||||||
path: NimBinaries
|
nim-version: 1.6.14
|
||||||
key: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }}-${{ github.run_id }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
restore-keys: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }}
|
|
||||||
|
# - name: Restore Nim toolchain binaries from cache
|
||||||
|
# id: nim-cache
|
||||||
|
# uses: actions/cache@v3
|
||||||
|
# with:
|
||||||
|
# path: NimBinaries
|
||||||
|
# key: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }}-${{ github.run_id }}
|
||||||
|
# restore-keys: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }}
|
||||||
|
|
||||||
# - name: Set NIM_COMMIT
|
# - name: Set NIM_COMMIT
|
||||||
# shell: ${{ matrix.shell }} {0}
|
# shell: ${{ matrix.shell }} {0}
|
||||||
|
|
Loading…
Reference in New Issue