Skip to content

Commit a9da16f

Browse files
committed
ci: fix package installer and updater in msix
1 parent 94152b6 commit a9da16f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,23 @@ jobs:
4141
with:
4242
name: IRIS-windows.zip
4343
path: IRIS-windows.zip
44+
- name: Remove updater
45+
run: Remove-Item -Path build\windows\x64\runner\Release\iris-updater.bat -Force
4446
- name: Create installer
4547
run: iscc inno.iss
4648
- name: Upload installer
4749
uses: actions/upload-artifact@v4
4850
with:
4951
name: IRIS-windows-installer.exe
5052
path: build\windows\x64\runner\Release\IRIS-windows-installer.exe
51-
- name: Create store msix
52-
run: dart run msix:create --store true --output-name IRIS-windows-store
53+
- name: Clean up
54+
run: Remove-Item -Path build\windows\x64\runner\Release\ -Recurse -Force
55+
- name: Build store msix
56+
run: dart run msix:build --store true
57+
- name: Remove updater
58+
run: Remove-Item -Path build\windows\x64\runner\Release\iris-updater.bat -Force
59+
- name: Pack store msix
60+
run: dart run msix:pack --store true --output-name IRIS-windows-store
5361
- name: Upload msix
5462
uses: actions/upload-artifact@v4
5563
with:

0 commit comments

Comments
 (0)