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 f3616b3 commit 3e92802Copy full SHA for 3e92802
.github/workflows/nuget-pack-push.yml
@@ -19,8 +19,7 @@ jobs:
19
runs-on: ubuntu-latest
20
steps:
21
- name: Setting environment variables
22
- run: |
23
- echo "::set-env name=BRANCH::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
+ run: |
24
echo "::set-env name=COMMIT::$GITHUB_SHA"
25
- echo "::set-env name=VERSION::$(echo ${GITHUB_REF:10})
+ echo "::set-env name=VERSION::${GITHUB_REF/refs\/tags\//}
26
echo Version $VERSION - Branch $BRANCH - Commit $COMMIT
0 commit comments