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 c625a90 commit a34e45cCopy full SHA for a34e45c
.github/workflows/nuget-pack-push.yml
@@ -1,12 +1,9 @@
1
name: CD
2
3
on:
4
- release:
5
- types:
6
- - published
7
- - created
8
- - edited
9
- - prereleased
+ push:
+ tags:
+ - 'v*.*.*'
10
11
env:
12
VERSION: 0.0.0
@@ -21,5 +18,6 @@ jobs:
21
18
- name: Setting environment variables
22
19
run: |
23
20
echo "::set-env name=COMMIT::$GITHUB_SHA"
24
- echo "::set-env name=VERSION::${GITHUB_REF/refs\/tags\//}"
+ echo "::set-env name=VERSION::${GITHUB_REF/refs\/tags\//}"
25
echo Version $VERSION - Branch $BRANCH - Commit $COMMIT
+ - run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
0 commit comments