Skip to content

Commit

Permalink
feat: add lala binary
Browse files Browse the repository at this point in the history
  • Loading branch information
wyyadd committed Jul 8, 2024
1 parent 6bf7bbb commit 7362f4d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,29 @@ jobs:
sudo apt-get install -y ninja-build libgtk-3-dev
- run: flutter config --enable-linux-desktop
- run: flutter build linux --target-platform=linux-x64
- run: (cd build/linux/x64/release/bundle && zip -r ../../../../LaLa_linux_amd64.zip .)

- name: upload LaLa Build
uses: actions/upload-artifact@v4
with:
name: LaLa_build
path: build

- uses: actions/upload-artifact@v4
with:
name: LaLa_amd64_binary
path: build/LaLa_linux_amd64.zip

- name: upload linux binary
uses: svenstaro/upload-release-action@v2
if: startsWith(github.ref, 'refs/tags/v')
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/LaLa_linux_amd64.zip
asset_name: LaLa_linux_amd64.zip
tag: ${{ github.ref }}
overwrite: true

- name: Package Deb App
run: bash dist/linux_deb.sh

Expand Down Expand Up @@ -114,6 +130,7 @@ jobs:
bundle: LaLa_linux_amd64.flatpak
manifest-path: dist/com.aironheart.lala.yml
cache-key: flatpak-builder-${{ github.sha }}
upload-artifact: false

- uses: actions/upload-artifact@v4
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,19 @@ jobs:
sudo apt-get install -y ninja-build libgtk-3-dev
- run: flutter config --enable-linux-desktop
- run: flutter build linux --target-platform=linux-x64
- run: (cd build/linux/x64/release/bundle && zip -r ../../../../LaLa_linux_amd64.zip .)

- name: upload LaLa Build
uses: actions/upload-artifact@v4
with:
name: LaLa_build
path: build

- uses: actions/upload-artifact@v4
with:
name: LaLa_amd64_binary
path: build/LaLa_linux_amd64.zip

- name: Package Deb App
run: bash dist/linux_deb.sh

Expand Down Expand Up @@ -92,6 +98,7 @@ jobs:
bundle: LaLa_linux_amd64.flatpak
manifest-path: dist/com.aironheart.lala.yml
cache-key: flatpak-builder-${{ github.sha }}
upload-artifact: false

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 7362f4d

Please sign in to comment.