Skip to content

Commit 0482fcf

Browse files
author
Tom Magnier
committed
Linux/RPi CI : update appimagetool to avoid fuse2 dependency
1 parent dabfb40 commit 0482fcf

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/build.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
# apt-get update && apt-get install ...
199199
200200
cd $GITHUB_WORKSPACE
201-
wget "https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage"
201+
wget "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
202202
chmod a+x appimagetool-x86_64.AppImage
203203
204204
# - name: Start SSH via ngrok
@@ -231,7 +231,7 @@ jobs:
231231
232232
PKGNAME=${{ env.ProjectName }}-linux-${{ steps.set_variables.outputs.suffix }}.AppImage
233233
echo "pkg-name=$PKGNAME" >> $GITHUB_OUTPUT
234-
$GITHUB_WORKSPACE/appimagetool-x86_64.AppImage --appimage-extract-and-run ${{ env.ProjectName }}.AppDir $PKGNAME
234+
ARCH=x86_64 $GITHUB_WORKSPACE/appimagetool-x86_64.AppImage ${{ env.ProjectName }}.AppDir $PKGNAME
235235
working-directory: ./Builds/LinuxMakefile
236236

237237
- name: Upload
@@ -286,15 +286,9 @@ jobs:
286286

287287
- name: Download and prepare AppImage
288288
run: |
289-
sudo apt-get update
290-
sudo apt-get install libfuse2 # required on ubuntu 22.04
291-
292-
wget "https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage"
289+
wget "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
293290
chmod a+x appimagetool-x86_64.AppImage
294291
295-
echo "Downloading AppImage runtime for ${{ matrix.arch }}"
296-
wget "https://github.com/AppImage/AppImageKit/releases/download/13/runtime-${{ matrix.arch }}"
297-
298292
mkdir -p ./Builds/${{ matrix.buildFolder }}/${{ env.ProjectName }}.AppDir/usr/bin/
299293
working-directory: ${{ github.workspace }}
300294

@@ -321,7 +315,7 @@ jobs:
321315
run: |
322316
PKGNAME=${{ env.ProjectName }}-linux-${{ steps.set_variables.outputs.suffix }}.AppImage
323317
echo "pkg-name=$PKGNAME" >> $GITHUB_OUTPUT
324-
${{ github.workspace }}/appimagetool-x86_64.AppImage --runtime-file ${{ github.workspace }}/runtime-${{ matrix.arch }} ${{ env.ProjectName }}.AppDir $PKGNAME
318+
ARCH=${{ matrix.arch }} ${{ github.workspace }}/appimagetool-x86_64.AppImage ${{ env.ProjectName }}.AppDir $PKGNAME
325319
working-directory: ./Builds/${{ matrix.buildFolder }}
326320

327321
- name: Upload

0 commit comments

Comments
 (0)