File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,22 @@ jobs:
1010 defaults :
1111 run :
1212 shell : bash
13- timeout-minutes : 90
1413 steps :
1514 - name : Checkout
1615 uses : actions/checkout@v4
1716 - name : Mod AppImage to use chrome-sandbox of local os
1817 run : |
1918 set -x
2019 set -v
20+ THIS_REPO_DIR=${GITHUB_WORKSPACE}/${GITHUB_REPOSITORY##*/}
21+ TOOLS_DIR=${THIS_REPO_DIR}/.github/tools
2122 mkdir t
2223 cd t
2324 mkdir squashfs-root
2425 echo "Test" >squashfs-root/Test.txt
25- TOOL=".github/tools /appimagetool-x86_64_2019-05-01.AppImage"
26+ TOOL="$TOOLS_DIR /appimagetool-x86_64_2019-05-01.AppImage"
2627 ls -la ${TOOL}
27- ARCH=x86_64 $ {TOOL} squashfs-root
28+ ARCH=x86_64 " {TOOL}" squashfs-root
2829 rm -r squashfs-root/
2930 rm "${EXE}"
3031 mv *.AppImage ../
Original file line number Diff line number Diff line change 99 defaults :
1010 run :
1111 shell : bash
12- timeout-minutes : 90
1312 steps :
1413 - name : Checkout
1514 uses : actions/checkout@v4
1615 - name : Mod AppImage to use chrome-sandbox of local os
1716 run : |
1817 set -x
1918 set -v
19+ THIS_REPO_DIR=${GITHUB_WORKSPACE}/${GITHUB_REPOSITORY##*/}
20+ TOOLS_DIR=${THIS_REPO_DIR}/.github/tools
2021 mkdir t
2122 cd t
2223 mkdir squashfs-root
2324 echo "Test" >squashfs-root/Test.txt
24- TOOL=".github/tools /appimagetool-x86_64_2019-05-01.AppImage"
25+ TOOL="$TOOLS_DIR /appimagetool-x86_64_2019-05-01.AppImage"
2526 ls -la ${TOOL}
26- ARCH=x86_64 $ {TOOL} squashfs-root
27+ ARCH=x86_64 " {TOOL}" squashfs-root
2728 rm -r squashfs-root/
2829 rm "${EXE}"
2930 mv *.AppImage ../
You can’t perform that action at this time.
0 commit comments