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 2222
2323#! /bin/bash
2424mkdir -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)})" ) && \
2626DEMO_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)" ) && \
2828rm -f " just.config.js" && \
2929echo " $INPUT_CONFIG " > just.config.js && \
3030echo " id=id/$DEMO_BUILT_ID " >> $GITHUB_OUTPUT && \
You can’t perform that action at this time.
0 commit comments