Skip to content

Commit

Permalink
CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Nov 16, 2023
1 parent 6e1f8a8 commit 3eec383
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Release"
on:
# Allow manual
workflow_dispatch:
# use publish even so when goes from draft -> released
release:
types: [published]

jobs:
build-mac:
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-apple-darwin
- uses: pnpm/action-setup@v2
with:
version: 8
- name: install frontend dependencies
run: pnpm install
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "App v__VERSION__"
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: false

0 comments on commit 3eec383

Please sign in to comment.