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:
26
26
echo "NIGHTLY_SHA=$NIGHTLY_SHA" >> $GITHUB_ENV
27
27
28
28
if [ "$MAIN_SHA" = "$NIGHTLY_SHA" ] ; then
29
- echo "DEPLOY=${{ toJSON(false) }} " >> $GITHUB_OUTPUT
29
+ echo "DEPLOY=0 " >> $GITHUB_OUTPUT
30
30
echo "No changes to deploy"
31
31
else
32
- echo "DEPLOY=${{ toJSON(true) }} " >> $GITHUB_OUTPUT
32
+ echo "DEPLOY=1 " >> $GITHUB_OUTPUT
33
33
echo "Will deploy Nightly build"
34
34
fi
35
35
36
36
- name : Get version
37
37
id : version
38
- if : steps.deploy-nightly.outputs.DEPLOY
38
+ if : steps.deploy-nightly.outputs.DEPLOY != 0
39
39
run : |
40
40
datetime=$(date +%Y%m%d%H)
41
41
pkg_version=$(node -p "require('./package.json').version")
45
45
echo "VERSION=$version" >> $GITHUB_ENV
46
46
47
47
- name : Publish Nightly Release
48
- if : steps.deploy-nightly.outputs.DEPLOY
48
+ if : steps.deploy-nightly.outputs.DEPLOY != 0
49
49
run : |
50
50
echo "Publishing nightly release ${{ env.VERSION }}"
51
51
npm ci
55
55
VSCE_PAT : ${{ secrets.VS_MARKETPLACE_TOKEN }}
56
56
57
57
- name : Create Nightly tag
58
- if : steps.deploy-nightly.outputs.DEPLOY
58
+ if : steps.deploy-nightly.outputs.DEPLOY != 0
59
59
run : |
60
60
# git config user.name github-actions
61
61
# git config user.email 41898282+github-actions[bot]@users.noreply.github.com
You can’t perform that action at this time.
0 commit comments