ci:
Some checks failed
Gitea Actions Demo / build (push) Successful in 41s
Gitea Actions Demo / docker (push) Failing after 9s

This commit is contained in:
Ivan Li 2023-05-22 01:00:16 +08:00
parent 3bbab92293
commit 6717bb5e2f

View File

@ -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