38 lines
1,021 B
YAML
38 lines
1,021 B
YAML
name: "Release"
|
|
|
|
on: workflow_dispatch
|
|
# on:
|
|
# push:
|
|
# branches:
|
|
# - "test-build"
|
|
|
|
jobs:
|
|
publish-tauri:
|
|
permissions:
|
|
contents: write
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- platform: "macos-latest" # for Arm based macs (M1 and above).
|
|
args: "--target aarch64-apple-darwin"
|
|
target: "aarch64-apple-darwin"
|
|
- platform: "macos-latest" # for Intel based macs.
|
|
args: "--target x86_64-apple-darwin"
|
|
target: "x86_64-apple-darwin"
|
|
- platform: "ubuntu-24.04"
|
|
args: ""
|
|
target: "x86_64-unknown-linux-gnu"
|
|
- platform: "windows-latest"
|
|
args: ""
|
|
target: "x86_64-pc-windows-msvc"
|
|
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
platform: ${{ matrix.platform }}
|
|
target: ${{ matrix.target }}
|
|
build-args: ${{ matrix.args }}
|
|
sign-binaries: true
|
|
asset-prefix: "handy"
|
|
upload-artifacts: false
|
|
secrets: inherit
|