Skip to content

Commit f793f57

Browse files
committed
[CI] Use pre-built appimagetools instead of building it
1 parent 9c4874f commit f793f57

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ jobs:
5757
if: matrix.platform == 'ARM64'
5858
run: |
5959
cd build
60-
git clone https://github.com/AppImage/appimagetool.git
61-
cd appimagetool
62-
ARCH="aarch64" ./ci/build-in-docker.sh
60+
wget https://github.com/AppImage/appimagetool/releases/download/1.9.0/appimagetool-aarch64.AppImage
61+
mv appimagetool-aarch64.AppImage appimagetool.AppImage
62+
chmod +x appimagetool.AppImage
6363
6464
- name: "Preparing X64 AppImage"
6565
if: matrix.platform == 'X64'
6666
run: |
6767
cd build
68-
git clone https://github.com/AppImage/appimagetool.git
69-
cd appimagetool
70-
ARCH="x86_64" ./ci/build-in-docker.sh
68+
wget https://github.com/AppImage/appimagetool/releases/download/1.9.0/appimagetool-x86_64.AppImage
69+
mv appimagetool-x86_64.AppImage appimagetool.AppImage
70+
chmod +x appimagetool.AppImage
7171
7272
- name: "Creating AppImage"
7373
if: matrix.platform == 'X64' || matrix.platform == 'ARM64'
@@ -101,8 +101,8 @@ jobs:
101101
"$PWD/usr/bin/hcl" $@'> AppRun
102102
chmod +x AppRun
103103
cp -r ../../data .
104-
cd ../appimagetool
105-
./appimagetool-*.AppImage ../AppDir ../hcl-${{ matrix.platform }}.AppImage
104+
cd ..
105+
./appimagetool.AppImage AppDir ../hcl-${{ matrix.platform }}.AppImage
106106
107107
108108
- name: "Upload Zip File"

0 commit comments

Comments
 (0)