mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-03-28 20:03:08 +00:00
avoid cache clashes in ci between platforms
This commit is contained in:
parent
0ab6f950a4
commit
3217bc0cef
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 90
|
||||
|
||||
name: build-${{ matrix.os }}
|
||||
name: build-ci-${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@ -76,6 +76,15 @@ jobs:
|
||||
nimble-version: '0.20.1'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Cache nimble deps
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
nimbledeps/pkgs2
|
||||
~/.cache
|
||||
key: nimble-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('waku.nimble') }}
|
||||
restore-keys: nimble-${{ runner.os }}-${{ runner.arch }}-
|
||||
|
||||
- name: Make update
|
||||
run: make update
|
||||
|
||||
@ -113,7 +122,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 90
|
||||
|
||||
name: test-${{ matrix.os }}
|
||||
name: test-ci-${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@ -131,6 +140,15 @@ jobs:
|
||||
nimble-version: '0.20.1'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Cache nimble deps
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
nimbledeps/pkgs2
|
||||
~/.cache
|
||||
key: nimble-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('waku.nimble') }}
|
||||
restore-keys: nimble-${{ runner.os }}-${{ runner.arch }}-
|
||||
|
||||
- name: Make update
|
||||
run: make update
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user