From 149555dbb6d68c15b4d8752e76e995ff6ba36fe6 Mon Sep 17 00:00:00 2001 From: Ava Hahn Date: Thu, 9 May 2024 12:29:53 -0700 Subject: trigger unitctl CI on version tags of existing format Signed-off-by: Ava Hahn --- .github/workflows/unitctl.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unitctl.yml b/.github/workflows/unitctl.yml index 129eec5e..1e02fde3 100644 --- a/.github/workflows/unitctl.yml +++ b/.github/workflows/unitctl.yml @@ -9,7 +9,7 @@ on: branches: - master tags: - - unitctl/[0-9]+.[0-9]+.[0-9]+ + - '[0-9]+.[0-9]+.[0-9]+' permissions: contents: write @@ -58,7 +58,7 @@ jobs: with: prefix-key: rust-${{ matrix.build }} workspaces: ./tools/unitctl -> target - save-if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/unitctl/') }} + save-if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }} - name: Configure linux arm depedencies if: matrix.target == 'aarch64-unknown-linux-gnu' @@ -117,7 +117,7 @@ jobs: release: # Create a draft release if a tag - if: startsWith(github.ref, 'refs/tags/unitctl/') + if: startsWith(github.ref, 'refs/tags/') needs: [build] runs-on: ubuntu-latest steps: -- cgit