Skip to content

Commit

Permalink
Merge pull request #161 from Samueru-sama/main
Browse files Browse the repository at this point in the history
fix appimagetool not finding runtime
  • Loading branch information
ravachol committed Sep 9, 2024
2 parents b7ceada + 4f14b79 commit a8cc8fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/appimage_alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ jobs:
chmod +x upload.sh
mv upload.sh /usr/local/bin/uploadtool
- name: Download runtime-x86_64
run: |
wget -O appdir/runtime https://github.com/AppImage/AppImageKit/releases/download/continuous/runtime-x86_64
chmod +x appdir/runtime
- name: Download and prepare appimagetool
run: |
wget -O appimagetool-x86_64.AppImage -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2)
Expand All @@ -82,7 +77,10 @@ jobs:
- name: Create AppImage
run: |
mkdir -p output
VERSION=$(./appdir/usr/bin/kew --version | awk -F": " 'FNR==6 {printf $NF}') ./appimagetool-*.AppImage ./appdir
APPIMAGE_EXTRACT_AND_RUN=1 \
ARCH=$(uname -m) \
VERSION=$(./appdir/usr/bin/kew --version | awk -F": " 'FNR==6 {printf $NF}') \
./appimagetool-*.AppImage ./appdir
- name: Move and Rename kew AppImage
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/appimage_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ jobs:
- name: Create AppImage
run: |
mkdir -p output
VERSION=$(./appdir/usr/bin/kew --version | awk -F": " 'FNR==6 {printf $NF}') ./appimagetool-*.AppImage -s ./appdir
APPIMAGE_EXTRACT_AND_RUN=1 \
ARCH=$(uname -m) \
VERSION=$(./appdir/usr/bin/kew --version | awk -F": " 'FNR==6 {printf $NF}') \
./appimagetool-*.AppImage ./appdir
- name: Move and Rename kew AppImage
run: |
Expand Down

0 comments on commit a8cc8fb

Please sign in to comment.