[chore] add built code
This commit is contained in:
16
.github/workflows/github-actions-builder.yml
vendored
16
.github/workflows/github-actions-builder.yml
vendored
@@ -93,4 +93,18 @@ jobs:
|
|||||||
name: "${{fromJson(env.VERSION_JSON).version}}"
|
name: "${{fromJson(env.VERSION_JSON).version}}"
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
files: |
|
files: |
|
||||||
src-tauri/target/x86_64-pc-windows-msvc/release/**/*.msi
|
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
|
||||||
Reference in New Issue
Block a user