Skip to content

Commit d2e1431

Browse files
committed
Add windows artifacts to release
1 parent 9d991ad commit d2e1431

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/deploy-tauri.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,25 @@ jobs:
134134
- name: Build Windows app
135135
run: |
136136
pnpm tauri build --verbose
137+
- name: Rename build artifacts
138+
run: |
139+
mv ./src-tauri/target/release/bundle/msi/*.msi ./octo-${{ env.APP_VERSION }}-x64.msi
140+
mv ./src-tauri/target/release/bundle/msi/*.msi.sig ./octo-${{ env.APP_VERSION }}-x64.msi.sig
141+
mv ./src-tauri/target/release/bundle/nsis/*.exe ./octo-${{ env.APP_VERSION }}-x64.exe
142+
mv ./src-tauri/target/release/bundle/nsis/*.exe.sig ./octo-${{ env.APP_VERSION }}-x64.exe.sig
143+
- name: Release
144+
uses: softprops/action-gh-release@v2
145+
with:
146+
draft: true
147+
files: |
148+
./octo-${{ env.APP_VERSION }}-x64.msi
149+
./octo-${{ env.APP_VERSION }}-x64.msi.sig
150+
./octo-${{ env.APP_VERSION }}-x64.exe
151+
./octo-${{ env.APP_VERSION }}-x64.exe.sig
152+
make_latest: true
153+
name: App ${{ env.APP_VERSION }}
154+
tag_name: app-${{ env.APP_VERSION }}
155+
target_commitish: ${{ github.sha }}
137156
build-mobile-android:
138157
runs-on: ubuntu-latest
139158
steps:

0 commit comments

Comments
 (0)