Skip to content

Commit

Permalink
Update linux.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbrechtL authored Aug 30, 2024
1 parent 97d961f commit ed68a30
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,26 @@ jobs:
cd ..
echo $PWD
- name: Prepare welle-cli AppImage
id: prepare_app_image
run: |
find build/
mkdir -p ./appdir/usr/share/applications
cp welle-io.desktop ./appdir/usr/share/applications
mkdir -p ./appdir/usr/bin
cp build/src/welle-gui/welle-io ./appdir/usr/bin
mkdir -p ./appdir/usr/lib
mkdir -p ./appdir/usr/share/icons/hicolor/512x512/apps/
cp src/welle-gui/icons/icon.png appdir/usr/share/icons/hicolor/512x512/apps/welle-io.png
- name: Create AppImage
id: create_appimage
run: |
wget -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)
chmod +x appimagetool-*.AppImage
./appimagetool-*.AppImage -s deploy ./appdir/usr/share/applications/*.desktop # Bundle EVERYTHING
VERSION=1.0 ./appimagetool-*.AppImage ./appdir # turn AppDir into AppImage
- name: Archive artifacts (welle.io build dir)
if: always() && steps.build.outcome == 'failure'
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit ed68a30

Please sign in to comment.