Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 87c9eff

Browse files
authored
Update betarelease.yml
1 parent 98e56d6 commit 87c9eff

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/betarelease.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
get-tag:
1212
runs-on: ubuntu-latest
1313
outputs:
14-
tag: ${{ steps.previoustag.outputs.tag }}
14+
tag: ${{ steps.tagfilter.outputs.group1 }}
1515
steps:
1616
- name: Checkout repository
1717
uses: actions/checkout@v2
@@ -20,7 +20,14 @@ jobs:
2020
- name: Get previous tag
2121
id: previoustag
2222
uses: "WyriHaximus/github-action-get-previous-tag@v1"
23+
- name: Filter tag
24+
uses: "actions-ecosystem/action-regex-match@v2"
25+
id: tagfilter
26+
with:
27+
text: ${{ steps.previoustag.outputs.tag }}
28+
regex: '^[0-9].[0-9].[0-9].[0-9]$'
2329

30+
# Get revision number
2431
get-revision:
2532
runs-on: ubuntu-latest
2633
outputs:

0 commit comments

Comments
 (0)