Skip to content

Commit

Permalink
windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0PandaDEV committed Apr 11, 2024
1 parent b893bbd commit 3130912
Showing 1 changed file with 29 additions and 8 deletions.
37 changes: 29 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
with:
Expand All @@ -38,13 +39,33 @@ jobs:

- uses: tauri-apps/tauri-action@v0

- name: Publish Artifact
- name: Publish macOS Artifact
if: matrix.platform == 'macos-latest'
uses: actions/upload-artifact@v3
with:
name: build-${{ matrix.platform }}
path: |
src-tauri/target/release/bundle/msi/*.exe
src-tauri/target/release/bundle/dmg/*.dmg
src-tauri/target/release/bundle/deb/*.deb
src-tauri/target/release/bundle/appimage/*.AppImage
src-tauri/target/release/bundle/rpm/*.rpm
name: macos-build-dmg
path: src-tauri/target/release/bundle/dmg/*.dmg

- name: Publish Windows Artifact
if: matrix.platform == 'windows-latest'
uses: actions/upload-artifact@v3
with:
name: windows-build-exe
path: src-tauri/target/release/bundle/nsis/*.exe

- name: Publish Ubuntu Artifacts
if: matrix.platform == 'ubuntu-latest'
uses: actions/upload-artifact@v3
with:
name: ubuntu-build-deb
path: src-tauri/target/release/bundle/deb/*.deb
- uses: actions/upload-artifact@v3
if: matrix.platform == 'ubuntu-latest'
with:
name: ubuntu-build-appimage
path: src-tauri/target/release/bundle/appimage/*.AppImage
- uses: actions/upload-artifact@v3
if: matrix.platform == 'ubuntu-latest'
with:
name: ubuntu-build-rpm
path: src-tauri/target/release/bundle/rpm/*.rpm

0 comments on commit 3130912

Please sign in to comment.