Workflow condition test
stable / fmt Details

This commit is contained in:
chmanie 2023-06-13 02:29:24 +02:00
parent 2f89886e5d
commit d47a7bec5b
1 changed files with 3 additions and 1 deletions

View File

@ -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