File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
23
23
#! /bin/bash
24
24
mkdir -p demo && \
25
- DEMO_LATEST_ID=$( node " await fetch('https://raw.just.is-a.dev/demo-id/').then(async resp => {return await resp.json()}).then(resp => {console.log(resp.latest)})" ) && \
25
+ DEMO_LATEST_ID=$( node -e " await fetch('https://raw.just.is-a.dev/demo-id/').then(async resp => {return await resp.json()}).then(resp => {console.log(resp.latest)})" ) && \
26
26
DEMO_BUILT_ID=$( node " src/demo.js" " $INPUT_FILES " " $DEMO_LATEST_ID " ) && \
27
- DEMO_NEW_ID=$( node " console.log($DEMO_LATEST_ID + 1)" ) && \
27
+ DEMO_NEW_ID=$( node -e " console.log($DEMO_LATEST_ID + 1)" ) && \
28
28
rm -f " just.config.js" && \
29
29
echo " $INPUT_CONFIG " > just.config.js && \
30
30
echo " id=id/$DEMO_BUILT_ID " >> $GITHUB_OUTPUT && \
You can’t perform that action at this time.
0 commit comments