Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shouryan01 authored Jan 22, 2024
1 parent 2515e92 commit 95d4717
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Publish"
on:
push:
branches:
- main
- main1

jobs:
publish-tauri:
Expand All @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [macos-latest]
platform: [macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}

steps:
Expand Down Expand Up @@ -79,3 +79,18 @@ jobs:
releaseDraft: true
prerelease: false
args: --target aarch64-apple-darwin

- name: Build Windows
if: matrix.platform == 'windows-latest'
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: app-v__VERSION__
releaseName: "windows_x64_v__VERSION__"
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: false
args: --target aarch64-apple-darwin


0 comments on commit 95d4717

Please sign in to comment.