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: on:
push: push:
tags: tags:
- '*' - 'refs/tags/v0.1.0-dev.2'
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