File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,11 +68,11 @@ jobs:
6868
6969 - name : Package build artifacts
7070 run : |
71- DIRS=""
71+ DIRS=()
7272 for d in target/deploy target/idl target/types cli/bin cli/dist js/stateless.js/dist js/compressed-token/dist; do
73- [ -d "$d" ] && DIRS="$DIRS $d"
73+ [ -d "$d" ] && DIRS+=("$d")
7474 done
75- tar -czf build-artifacts.tar.gz $ DIRS
75+ tar -czf build-artifacts.tar.gz "${ DIRS[@]}"
7676
7777 - name : Upload build artifacts
7878 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -68,11 +68,11 @@ jobs:
6868
6969 - name : Package build artifacts
7070 run : |
71- DIRS=""
71+ DIRS=()
7272 for d in target/deploy target/idl target/types cli/bin cli/dist js/stateless.js/dist js/compressed-token/dist; do
73- [ -d "$d" ] && DIRS="$DIRS $d"
73+ [ -d "$d" ] && DIRS+=("$d")
7474 done
75- tar -czf build-artifacts.tar.gz $ DIRS
75+ tar -czf build-artifacts.tar.gz "${ DIRS[@]}"
7676
7777 - name : Upload build artifacts
7878 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -54,11 +54,11 @@ jobs:
5454
5555 - name : Package build artifacts
5656 run : |
57- DIRS=""
57+ DIRS=()
5858 for d in target/deploy target/idl target/types cli/bin cli/dist js/stateless.js/dist js/compressed-token/dist; do
59- [ -d "$d" ] && DIRS="$DIRS $d"
59+ [ -d "$d" ] && DIRS+=("$d")
6060 done
61- tar -czf build-artifacts.tar.gz $ DIRS
61+ tar -czf build-artifacts.tar.gz "${ DIRS[@]}"
6262
6363 - name : Upload build artifacts
6464 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ jobs:
4848
4949 - name : Package build artifacts
5050 run : |
51- DIRS=""
51+ DIRS=()
5252 for d in target/deploy target/idl target/types cli/bin cli/dist js/stateless.js/dist js/compressed-token/dist; do
53- [ -d "$d" ] && DIRS="$DIRS $d"
53+ [ -d "$d" ] && DIRS+=("$d")
5454 done
55- tar -czf build-artifacts.tar.gz $ DIRS
55+ tar -czf build-artifacts.tar.gz "${ DIRS[@]}"
5656
5757 - name : Upload build artifacts
5858 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ jobs:
4646
4747 - name : Package build artifacts
4848 run : |
49- DIRS=""
49+ DIRS=()
5050 for d in target/deploy target/idl target/types cli/bin cli/dist js/stateless.js/dist js/compressed-token/dist; do
51- [ -d "$d" ] && DIRS="$DIRS $d"
51+ [ -d "$d" ] && DIRS+=("$d")
5252 done
53- tar -czf build-artifacts.tar.gz $ DIRS
53+ tar -czf build-artifacts.tar.gz "${ DIRS[@]}"
5454
5555 - name : Upload build artifacts
5656 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments