Skip to content

Commit b84984e

Browse files
committed
update to workflows
1 parent 31b2b6c commit b84984e

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/NUGET-PUSH.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: RELEASE
1+
name: NUGET-PUSH
22

33
on:
44
push:
@@ -8,8 +8,8 @@ on:
88
- '.github/.force-nuget-push'
99

1010
env:
11-
VERSION: 0.0.0
12-
BRANCH: ''
11+
VERSION: ''
12+
BRANCH: 'master'
1313

1414
jobs:
1515
build:
@@ -23,9 +23,7 @@ jobs:
2323
with:
2424
setAllVars: true
2525
- name: Setting VERSION and BRANCH env
26-
run: |
27-
echo "::set-env name=VERSION::$NBGV_NuGetPackageVersion"
28-
echo "::set-env name=BRANCH::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
26+
run: echo "::set-env name=VERSION::$NBGV_NuGetPackageVersion"
2927
- name: Update tokens in project files
3028
uses: cschleiden/replace-tokens@v1
3129
with:

0 commit comments

Comments
 (0)