ci:
Some checks failed
Gitea Actions Demo / build (push) Failing after 4s
Gitea Actions Demo / docker (push) Has been skipped

This commit is contained in:
Ivan Li 2023-05-21 16:46:22 +08:00
parent 13c72f52de
commit 1d9b5248bc

View File

@ -15,8 +15,8 @@ jobs:
toolchain: stable
override: true
- id: commit
uses: https://github.com/pr-mpt/actions-commit-hash@v2.0
- id: tag
uses: https://github.com/Maxyme/get-release-or-tag@v2
- name: Build
run: cargo build --release
@ -25,7 +25,7 @@ jobs:
uses: actions/cache@v3
with:
path: ./target/release/network-monitor
key: ${{ runner.os }}-release-${{ steps.commit.outputs.short}}
key: ${{ runner.os }}-release-${{ steps.tag.outputs.tag}}
docker:
runs-on: ubuntu-latest