We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06ece99 commit db91cf1Copy full SHA for db91cf1
.github/workflows/publish.yml
@@ -3,7 +3,7 @@ name: Publish
3
on:
4
push:
5
tags:
6
- - 'v*' # Publish on any new tag
+ - 'v*' # Publish on any new tag matching v*, i.e. v1.0, v1.7.2
7
8
jobs:
9
build:
@@ -18,7 +18,8 @@ jobs:
18
- name: Get version from tag
19
id: tag_name
20
run: |
21
- echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
+ echo ::set-output name=current_version::${GITHUB_REF#refs/tags/}
22
+ shell: bash
23
- uses: actions/checkout@v3
24
- name: Setup dotnet
25
uses: actions/setup-dotnet@v2
0 commit comments