mirror of
https://github.com/Vomitblood/stort.git
synced 2025-02-21 00:40:48 +08:00
updated github actions workflow
This commit is contained in:
parent
fa00220612
commit
0edef1236b
27
.github/workflows/build-validation.yml
vendored
27
.github/workflows/build-validation.yml
vendored
|
@ -39,3 +39,30 @@ jobs:
|
||||||
|
|
||||||
- name: Build Tauri
|
- name: Build Tauri
|
||||||
run: mise exec bun --command 'bun run tauri build'
|
run: mise exec bun --command 'bun run tauri build'
|
||||||
|
|
||||||
|
- name: Upload build artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: stort-appimage.zip
|
||||||
|
path: ./src-tauri/target/release/bundle/appimage/*.AppImage
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
|
id: create_release
|
||||||
|
uses: actions/create-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
tag_name: ${{ env.TAG_NAME }}
|
||||||
|
release_name: ${{ env.TAG_NAME }}
|
||||||
|
draft: false
|
||||||
|
prerelease: false
|
||||||
|
|
||||||
|
- name: Upload whatsip artifact to release (Windows)
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: ./src-tauri/target/release/bundle/appimage/*.AppImage
|
||||||
|
asset_name: stort-appimage.zip
|
||||||
|
asset_content_type: application/octet-stream
|
||||||
|
|
Loading…
Reference in a new issue