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