Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[auth] Fix Windows build by installing Inno Setup properly

Prateek Sunale5ed6a0864b5
diff --git a/.github/workflows/auth-release.yml b/.github/workflows/auth-release.yml
index bf0601081d..5fa3816447 100644
--- a/.github/workflows/auth-release.yml
+++ b/.github/workflows/auth-release.yml
@@ -168,12 +168,15 @@ jobs:
flutter config --enable-windows-desktop
# dart pub global activate flutter_distributor
dart pub global activate --source git https://github.com/ente-io/flutter_distributor_fork --git-ref develop --git-path packages/flutter_distributor
- make innoinstall
+ choco install innosetup -y
flutter_distributor package --platform=windows --targets=exe --skip-clean
+ shopt -s globstar
mv dist/**/*-windows-setup.exe artifacts/ente-${{ github.ref_name }}-installer.exe
+ shell: bash
- name: Retain Windows EXE and DLLs
run: cp -r build/windows/x64/runner/Release ente-${{ github.ref_name }}-windows
+ shell: bash
- name: Sign files with Trusted Signing
uses: azure/trusted-signing-action@v0
@@ -194,9 +197,11 @@ jobs:
- name: Zip Windows EXE and DLLs
run: tar.exe -a -c -f artifacts/ente-${{ github.ref_name }}-windows.zip ente-${{ github.ref_name }}-windows
+ shell: bash
- name: Generate checksums
run: sha256sum artifacts/ente-* > artifacts/sha256sum-windows
+ shell: bash
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1