mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 05:44:40 +00:00
Fix Nim binaries cache key of main CI
Why: Multiple CI share the same cache key will fail to save the cached files. Also: Fix simulators CI path to cached llvm-mingw on windows.
This commit is contained in:
parent
73622459b1
commit
dbb17ab68c
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -237,7 +237,7 @@ jobs:
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: NimBinCache
|
||||
key: 'nim-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nimbus_build_system }}'
|
||||
key: 'nim-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nimbus_build_system }}-${{ matrix.target.evmc }}'
|
||||
|
||||
- name: Build Nim and Nimbus-eth1 dependencies
|
||||
run: |
|
||||
|
5
.github/workflows/simulators.yml
vendored
5
.github/workflows/simulators.yml
vendored
@ -119,6 +119,11 @@ jobs:
|
||||
curl -L "$MINGW_URL" -o "external/mingw-amd64.zip"
|
||||
7z x -y "external/mingw-amd64.zip" -oexternal/mingw-amd64/
|
||||
mv external/mingw-amd64/**/* ./external/mingw-amd64
|
||||
|
||||
- name: Path to cached dependencies (Windows)
|
||||
if: >
|
||||
runner.os == 'Windows'
|
||||
run: |
|
||||
echo '${{ github.workspace }}'"/external/mingw-amd64/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Get latest nimbus-build-system commit hash
|
||||
|
Loading…
x
Reference in New Issue
Block a user