Skip to content

Commit

Permalink
Update linux-deb.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
anandnet authored Jul 14, 2024
1 parent 7164f48 commit 4908610
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/linux-deb.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build linux deb
on: workflow_dispatch
on: push

jobs:
build-linux-deb:
Expand Down Expand Up @@ -39,16 +39,21 @@ jobs:
run: |
dart pub global activate flutter_distributor
flutter_distributor package --platform linux --targets deb
tar -czaf harmonymusic-Linux-Portable.tar.gz build/linux/x64/release/bundle/
- name: Build linux portable tar
working-directory: ./Harmony-Music
run: |
cd build/linux/x64/release/bundle
tar -czaf harmonymusic-Linux-Portable.tar.gz ./*
ls
- name: Upload linux deb artifact
uses: actions/upload-artifact@v4
with:
name: Harmony music linux deb
path: ./Harmony-Music/dist/*

- name: Upload linux portable tar
uses: actions/upload-artifact@v4
with:
name: Harmony music linux tar
path: ./Harmony-Music/harmonymusic-Linux-Portable.tar.gz
# - name: Upload linux portable tar
# uses: actions/upload-artifact@v4
# with:
# name: Harmony music linux tar
# path: ./Harmony-Music/harmonymusic-Linux-Portable.tar.gz

0 comments on commit 4908610

Please sign in to comment.