ci:
This commit is contained in:
parent
13c72f52de
commit
1d9b5248bc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user