Skip to content

Commit dc081fe

Browse files
committed
fix: update output variable for nightly version in npm publish workflow
1 parent f21c268 commit dc081fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish-npm-sdk.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
if: github.event.inputs.tag == 'nightly'
2727
working-directory: packages/sdk
2828
run: |
29-
// if nightly tag
3029
if [ "${{ github.event.inputs.tag }}" == "nightly" ]; then
3130
CURRENT_VERSION=$(npm pkg get version | tr -d '"')
3231
NIGHTLY_VERSION="${CURRENT_VERSION}-nightly-${GITHUB_SHA::7}"
@@ -35,7 +34,7 @@ jobs:
3534
echo "VERSION=$(npm pkg get version | tr -d '"')" >> $GITHUB_OUTPUT
3635
fi
3736
outputs:
38-
NIGHTLY_VERSION: ${{ steps.set-publish-version.outputs.VERSION }}
37+
VERSION: ${{ steps.set-publish-version.outputs.VERSION }}
3938

4039
publish-npm:
4140
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@feat/publish-npm

0 commit comments

Comments
 (0)