Skip to content

Commit 28dd246

Browse files
committed
[CI] Add desktop tools for AppImage generation
1 parent 8a8c37d commit 28dd246

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: "Environment preparation"
3939
run: |
4040
sudo apt-get update
41-
sudo apt-get -y install git cmake make python3 libsdl2-dev libsdl2-mixer-dev
41+
sudo apt-get -y install git cmake make python3 libsdl2-dev libsdl2-mixer-dev desktop-file-utils
4242
4343
- name: "Build"
4444
run: |
@@ -57,8 +57,6 @@ jobs:
5757
if: matrix.platform == 'ARM64'
5858
run: |
5959
cd build
60-
git clone https://github.com/AppImage/appimagetool.git
61-
cd appimagetool
6260
wget https://github.com/AppImage/appimagetool/releases/download/1.9.0/appimagetool-aarch64.AppImage
6361
mv appimagetool-aarch64.AppImage appimagetool.AppImage
6462
chmod +x appimagetool.AppImage
@@ -67,8 +65,6 @@ jobs:
6765
if: matrix.platform == 'X64'
6866
run: |
6967
cd build
70-
git clone https://github.com/AppImage/appimagetool.git
71-
cd appimagetool
7268
wget https://github.com/AppImage/appimagetool/releases/download/1.9.0/appimagetool-x86_64.AppImage
7369
mv appimagetool-x86_64.AppImage appimagetool.AppImage
7470
chmod +x appimagetool.AppImage
@@ -106,8 +102,8 @@ jobs:
106102
usr/bin/hcl $@'> AppRun
107103
chmod +x AppRun
108104
cp -r ../../data .
109-
cd ../appimagetool
110-
./appimagetool.AppImage ../AppDir ../hcl-${{ matrix.platform }}.AppImage
105+
cd ..
106+
./appimagetool.AppImage AppDir hcl-${{ matrix.platform }}.AppImage
111107
112108
113109
- name: "Upload Zip File"

0 commit comments

Comments
 (0)