File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ jobs:
256
256
env :
257
257
KEYCDN_USER : ${{ secrets.KEYCDN_USER }}
258
258
KEYCDN_PASSWORD : ${{ secrets.KEYCDN_PASSWORD }}
259
- run : sh playground/upload_bundle.sh
259
+ run : bash playground/upload_bundle.sh
260
260
261
261
- name : Prepare artifact upload
262
262
run : node .github/workflows/get_artifact_info.js
Original file line number Diff line number Diff line change 1
- # /usr/ bin/sh
1
+ #! / bin/bash
2
2
3
3
# This script will publish the compiler.js bundle / packages cmij.js files to our KeyCDN server.
4
4
# The target folder on KeyCDN will be the compiler.js' version number.
@@ -29,7 +29,7 @@ if [ ! -f "${NETRC_FILE}" ]; then
29
29
echo " machine ${KEYCDN_SRV} login $KEYCDN_USER password $KEYCDN_PASSWORD " > " ${NETRC_FILE} "
30
30
fi
31
31
32
- PACKAGES=( " compiler-builtins" " @rescript/react" " @rescript/core" )
32
+ PACKAGES=(" compiler-builtins" " @rescript/react" " @rescript/core" )
33
33
34
34
echo " Uploading compiler.js file..."
35
35
curl --ftp-create-dirs -T " ${SCRIPT_DIR} /compiler.js" --ssl --netrc-file $NETRC_FILE ftp://${KEYCDN_SRV} /v${VERSION} /compiler.js
45
45
46
46
curl --ftp-create-dirs -T " ${SOURCE} /cmij.js" --ssl --netrc-file $NETRC_FILE " ${TARGET} /cmij.js"
47
47
done
48
-
49
-
50
-
51
-
You can’t perform that action at this time.
0 commit comments