File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed
Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,23 @@ jobs:
1111 run :
1212 shell : bash
1313 steps :
14+ - name : Setup Env
15+ run : |
16+ #set -x
17+ #set -v
18+ THIS_REPO_DIR=${GITHUB_WORKSPACE}/${GITHUB_REPOSITORY##*/}
19+ TOOLS_DIR=${THIS_REPO_DIR}/.github/tools
20+
21+ for i in THIS_REPO_DIR TOOLS_DIR; do
22+ eval "r=\"\$$i\""
23+ echo "$i=$r" >> $GITHUB_ENV
24+ done
1425 - name : Checkout
1526 uses : actions/checkout@v4
1627 - name : Mod AppImage to use chrome-sandbox of local os
1728 run : |
1829 set -x
1930 set -v
20- THIS_REPO_DIR=${GITHUB_WORKSPACE}/${GITHUB_REPOSITORY##*/}
21- TOOLS_DIR=${THIS_REPO_DIR}/.github/tools
2231 mkdir t
2332 cd t
2433 mkdir squashfs-root
Original file line number Diff line number Diff line change @@ -10,14 +10,23 @@ jobs:
1010 run :
1111 shell : bash
1212 steps :
13+ - name : Setup Env
14+ run : |
15+ #set -x
16+ #set -v
17+ THIS_REPO_DIR=${GITHUB_WORKSPACE}/${GITHUB_REPOSITORY##*/}
18+ TOOLS_DIR=${THIS_REPO_DIR}/.github/tools
19+
20+ for i in THIS_REPO_DIR TOOLS_DIR; do
21+ eval "r=\"\$$i\""
22+ echo "$i=$r" >> $GITHUB_ENV
23+ done
1324 - name : Checkout
1425 uses : actions/checkout@v4
1526 - name : Mod AppImage to use chrome-sandbox of local os
1627 run : |
1728 set -x
1829 set -v
19- THIS_REPO_DIR=${GITHUB_WORKSPACE}/${GITHUB_REPOSITORY##*/}
20- TOOLS_DIR=${THIS_REPO_DIR}/.github/tools
2130 mkdir t
2231 cd t
2332 mkdir squashfs-root
You can’t perform that action at this time.
0 commit comments