ci:
This commit is contained in:
parent
3bbab92293
commit
6717bb5e2f
@ -45,6 +45,15 @@ jobs:
|
||||
path: ./target/release/network-monitor
|
||||
key: ${{ runner.os }}-release-${{ steps.tag.outputs.tag }}
|
||||
|
||||
|
||||
- id: restore-executable-binary
|
||||
name: Restore Executable Binary
|
||||
uses: https://github.com/actions/cache/restore@v3
|
||||
with:
|
||||
path: ./target/release/network-monitor
|
||||
key: ${{ runner.os }}-release-${{ steps.tag.outputs.tag }}
|
||||
fail-on-cache-miss: true
|
||||
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
@ -64,16 +73,12 @@ jobs:
|
||||
uses: https://github.com/Maxyme/get-release-or-tag@v2
|
||||
|
||||
- id: restore-executable-binary
|
||||
name: Cache Executable Binaries
|
||||
name: Restore Executable Binary
|
||||
uses: https://github.com/actions/cache/restore@v3
|
||||
with:
|
||||
path: ./target/release/network-monitor
|
||||
key: ${{ runner.os }}-release-${{ steps.tag.outputs.tag }}
|
||||
|
||||
- if: ${{ steps.restore-executable-binary.outputs.cache-hit != 'true' }}
|
||||
name: Check if binary not exists
|
||||
run: echo "missing program"
|
||||
continue-on-error: false
|
||||
fail-on-cache-miss: true
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: https://github.com/docker/login-action@v2
|
||||
|
Loading…
Reference in New Issue
Block a user