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