File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,16 @@ jobs:
2626 echo "NIGHTLY_SHA=$NIGHTLY_SHA" >> $GITHUB_ENV
2727
2828 if [ "$MAIN_SHA" = "$NIGHTLY_SHA" ] ; then
29- echo "DEPLOY=${{ toJSON(false) }} " >> $GITHUB_OUTPUT
29+ echo "DEPLOY=0 " >> $GITHUB_OUTPUT
3030 echo "No changes to deploy"
3131 else
32- echo "DEPLOY=${{ toJSON(true) }} " >> $GITHUB_OUTPUT
32+ echo "DEPLOY=1 " >> $GITHUB_OUTPUT
3333 echo "Will deploy Nightly build"
3434 fi
3535
3636 - name : Get version
3737 id : version
38- if : steps.deploy-nightly.outputs.DEPLOY
38+ if : steps.deploy-nightly.outputs.DEPLOY != 0
3939 run : |
4040 datetime=$(date +%Y%m%d%H)
4141 pkg_version=$(node -p "require('./package.json').version")
4545 echo "VERSION=$version" >> $GITHUB_ENV
4646
4747 - name : Publish Nightly Release
48- if : steps.deploy-nightly.outputs.DEPLOY
48+ if : steps.deploy-nightly.outputs.DEPLOY != 0
4949 run : |
5050 echo "Publishing nightly release ${{ env.VERSION }}"
5151 npm ci
5555 VSCE_PAT : ${{ secrets.VS_MARKETPLACE_TOKEN }}
5656
5757 - name : Create Nightly tag
58- if : steps.deploy-nightly.outputs.DEPLOY
58+ if : steps.deploy-nightly.outputs.DEPLOY != 0
5959 run : |
6060 # git config user.name github-actions
6161 # git config user.email 41898282+github-actions[bot]@users.noreply.github.com
You can’t perform that action at this time.
0 commit comments