summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAva Hahn <a.hahn@f5.com>2024-05-09 12:29:53 -0700
committeravahahn <110854134+avahahn@users.noreply.github.com>2024-05-09 13:09:57 -0700
commit149555dbb6d68c15b4d8752e76e995ff6ba36fe6 (patch)
tree52af4e70b0dfb811379ebcfa9fad67851e325911 /.github
parent6d0880c9956243ba476ce25ca7c1060692d172a2 (diff)
downloadunit-149555dbb6d68c15b4d8752e76e995ff6ba36fe6.tar.gz
unit-149555dbb6d68c15b4d8752e76e995ff6ba36fe6.tar.bz2
trigger unitctl CI on version tags of existing format
Signed-off-by: Ava Hahn <a.hahn@f5.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/unitctl.yml6
1 files 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: