Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
LNA-DEV committed Oct 24, 2024
1 parent 31c9da4 commit 14349d3
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ jobs:
- name: Install AppImage and Linux dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libblkid-dev e2fslibs-dev liblzma-dev libmpv-dev mpv ninja-build fuse
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x linuxdeploy-x86_64.AppImage appimagetool-x86_64.AppImage
sudo apt-get install -y libgtk-3-dev libblkid-dev e2fslibs-dev liblzma-dev libmpv-dev mpv ninja-build fuse appimagetool
# Fetch Flutter dependencies
- name: Install Flutter dependencies
Expand All @@ -40,22 +37,19 @@ jobs:
- name: Build Flutter Linux App
run: flutter build linux

- name: List build directory
run: |
ls -R build/linux/x64/release/bundle
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: linux-bin
path: build/linux/x64/release/bundle

# Ensure executable permissions
- name: Set executable permissions
run: chmod +x build/linux/x64/release/bundle/open_media_server_app

# Package the built Linux app into an AppImage
- name: Create AppImage
run: |
./linuxdeploy-x86_64.AppImage \
--appdir=build/linux/x64/release/bundle \
--output appimage \
--desktop-file=assets/desktop/myapp.desktop \
--icon-file assets/images/myapp.png
run: appimagetool --appdir=build/linux/x64/release/bundle AppImage.AppImage

# Upload the AppImage as an artifact (optional)
- name: Upload AppImage artifact
Expand Down

0 comments on commit 14349d3

Please sign in to comment.