diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17222b8..417ec84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,7 @@ 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 @@ -55,6 +56,21 @@ jobs: 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 @@ -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: diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml index 3c7e272..7b331b5 100644 --- a/.github/workflows/ci_test.yml +++ b/.github/workflows/ci_test.yml @@ -46,6 +46,7 @@ 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 @@ -53,6 +54,11 @@ jobs: 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 @@ -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: