Skip to content

Commit 24ec624

Browse files
committed
Fix uploading installer artifacts
1 parent 2815299 commit 24ec624

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/tauri_build.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ jobs:
4646
# args: ''
4747
- platform: 'windows-latest'
4848
args: '--target x86_64-pc-windows-msvc'
49+
arch: x86_64-pc-windows-msvc
4950
- platform: 'windows-latest'
5051
args: '--target aarch64-pc-windows-msvc'
52+
arch: aarch64-pc-windows-msvc
5153
runs-on: ${{ matrix.platform }}
5254
needs: [changelog]
5355
steps:
@@ -114,24 +116,25 @@ jobs:
114116
cd app
115117
pnpm rls ${{ matrix.args }}
116118
117-
- name: CI upload Windows
119+
- name: Windows Artifacts
118120
if: ${{ github.ref_type == 'branch' && matrix.platform == 'windows-latest' }}
119121
uses: actions/upload-artifact@main
120122
with:
121123
name: 'Windows Installers'
122124
path: |
123-
src-tauri/release/bundle/msi/*.msi
124-
src-tauri/release/bundle/nsis/*.exe
125+
src-tauri/target/${{ matrix.arch }}/release/bundle/msi/*.msi
126+
src-tauri/target/${{ matrix.arch }}/release/bundle/nsis/*.exe
125127
126-
- name: CI upload macOS
128+
- name: macOS Artifacts
127129
if: ${{ github.ref_type == 'branch' && matrix.platform == 'macos-latest' }}
128130
uses: actions/upload-artifact@main
129131
with:
130132
name: 'macOS Installer'
131133
path: |
132-
src-tauri/release/bundle/dmg/*.dmg
134+
src-tauri/target/release/bundle/dmg/*.dmg
135+
src-tauri/target/release/bundle/app/*.app
133136
134-
- name: CI upload Linux
137+
- name: Linux Artifacts
135138
if: ${{ github.ref_type == 'branch' && startsWith(matrix.platform, 'ubuntu') }}
136139
uses: actions/upload-artifact@main
137140
with:

0 commit comments

Comments
 (0)