Skip to content

Commit

Permalink
add windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
falk-werner committed Dec 22, 2023
1 parent 3f885aa commit e7b401b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-20.04]
platform: [ ubuntu-20.04, windows-latest ]
runs-on: ${{ matrix.platform }}

steps:
Expand Down Expand Up @@ -45,8 +45,16 @@ jobs:
- name: Build the app
uses: tauri-apps/tauri-action@v0

- name: Deploy
- name: Deploy (ubuntu)
if: matrix.platform == 'ubuntu-20.04'
uses: actions/upload-artifact@v4
with:
name: note.rs_${{runner.os}}
path: 'src-tauri/target/release/bundle/appimage/*.AppImage'

- name: Deploy (windows)
if: matrix.platform == 'windows-latest'
uses: actions/upload-artifact@v4
with:
name: note.rs_${{runner.os}}
path: 'src-tauri/target/release/bundle/msi/*.msi'
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"resources": [],
"shortDescription": "",
"targets": ["appimage"],
"targets": ["appimage", "msi"],
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
Expand Down

0 comments on commit e7b401b

Please sign in to comment.