summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/unitctl.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/unitctl.yml')
-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: