diff --git a/.github/workflows/github-actions-builder.yml b/.github/workflows/github-actions-builder.yml index 4f5ac4df..c8129df3 100644 --- a/.github/workflows/github-actions-builder.yml +++ b/.github/workflows/github-actions-builder.yml @@ -93,4 +93,18 @@ jobs: name: "${{fromJson(env.VERSION_JSON).version}}" generate_release_notes: true files: | - src-tauri/target/x86_64-pc-windows-msvc/release/**/*.msi \ No newline at end of file + src-tauri/target/x86_64-pc-windows-msvc/release/**/*.msi + # publish dist as zip when building on ubuntu + # first, zip the dist + - if: matrix.platform == 'ubuntu-latest' + run: zip -r built_code.zip dist + # then, publish the zip file + - if: matrix.platform == 'ubuntu-latest' + uses: "softprops/action-gh-release@v1" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "latest" + tag_name: "v${{fromJson(env.VERSION_JSON).version}}" + name: "${{fromJson(env.VERSION_JSON).version}}" + generate_release_notes: true + files: built_code.zip \ No newline at end of file