From a3e169601d6fe1865563e0943a791e5b297a6a5a Mon Sep 17 00:00:00 2001 From: chmanie Date: Tue, 13 Jun 2023 02:29:24 +0200 Subject: [PATCH] Workflow condition test --- .gitea/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 9dd301e..5c60743 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -7,6 +7,7 @@ on: 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