Workflow condition test
This commit is contained in:
parent
2f89886e5d
commit
a3e169601d
|
|
@ -7,6 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
if: ${{ gitea.ref_name != 'latest' }}
|
||||||
runs-on: rust-cross
|
runs-on: rust-cross
|
||||||
name: stable / cross-${{ matrix.target }}
|
name: stable / cross-${{ matrix.target }}
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -14,6 +15,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
target: ["armv7-unknown-linux-gnueabihf", "aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]
|
target: ["armv7-unknown-linux-gnueabihf", "aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]
|
||||||
steps:
|
steps:
|
||||||
|
- run: echo '${{ gitea.ref_name }}'
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: .gitea/scripts/check-tag
|
- run: .gitea/scripts/check-tag
|
||||||
- run: cargo fmt --check
|
- run: cargo fmt --check
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue