Skip to content

Commit

Permalink
🚧 check if I get service and version
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSebastian committed Apr 7, 2024
1 parent 6664e64 commit 245a5e6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/create-release-from-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: build gh release from tag

on:
push:
tags:
- "*/v*"

jobs:
get-service-from-tag:
runs-on: ubuntu-latest
steps:
- uses: olegtarasov/[email protected]
id: tagName
with:
tagRegex: (?<service>.*)/v(?<version>.*)"
- name: show-service
run: |
echo ${{ steps.tagName.outputs.service }}
echo ${{ steps.tagName.outputs.version }}

0 comments on commit 245a5e6

Please sign in to comment.