Skip to content

Commit 2764e35

Browse files
committed
Test5
Signed-off-by: Günter Neiß <gneiss@web.de>
1 parent 2585a3b commit 2764e35

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/Test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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 ../

.github/workflows/TestNoDocker.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,22 @@ jobs:
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 ../

0 commit comments

Comments
 (0)