99jobs :
1010 build_android :
1111 name : Build Passy for Android
12- runs-on : ubuntu-latest
12+ runs-on : ubuntu-20.04
1313 steps :
1414 - name : Checkout repository
1515 uses : actions/checkout@v4
1616 - name : Install dependencies
1717 shell : bash
1818 run : |
1919 sudo apt-get update
20- sudo apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync
20+ DEBIAN_FRONTEND=noninteractive sudo apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync
2121 - name : Set up JDK 17
2222 uses : actions/setup-java@v4
2323 with :
@@ -48,15 +48,15 @@ jobs:
4848 path : /home/runner/work/Passy/build/Passy-Android.apk
4949 build_linux :
5050 name : Build Passy for Linux
51- runs-on : ubuntu-latest
51+ runs-on : ubuntu-20.04
5252 steps :
5353 - name : Checkout repository
5454 uses : actions/checkout@v4
5555 - name : Install dependencies
5656 shell : bash
5757 run : |
5858 sudo apt-get update
59- sudo apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync
59+ DEBIAN_FRONTEND=noninteractive sudo apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync libayatana-appindicator3-dev libmpv-dev mpv
6060 - name : Install flutter
6161 shell : bash
6262 run : |
@@ -139,6 +139,20 @@ jobs:
139139 with :
140140 name : linux-appimage-no-updates-popup
141141 path : /home/runner/work/Passy/build/Passy-Linux-AppImage.zip
142+ build_linux_snap :
143+ name : Build Passy for Snap Store
144+ runs-on : ubuntu-22.04
145+ steps :
146+ - name : Checkout repository
147+ uses : actions/checkout@v4
148+ - name : Build Linux Snap
149+ uses : snapcore/action-build@v1
150+ id : snapcraft
151+ - name : Upload Linux Snap
152+ uses : actions/upload-artifact@v4
153+ with :
154+ name : linux-snap
155+ path : ${{ steps.snapcraft.outputs.snap }}
142156 build_windows :
143157 name : Build Passy for Windows
144158 runs-on : windows-latest
@@ -158,14 +172,25 @@ jobs:
158172 - name : Build Passy for Windows
159173 shell : bash
160174 run : flutter --no-version-check --suppress-analytics build windows
175+ - name : Build Windows .exe installer
176+ shell : bash
177+ run : |
178+ echo "C:/Program Files (x86)/Inno Setup 6" >> $GITHUB_PATH
179+ iscc passy.iss
161180 - name : Prepare releases
162181 shell : bash
163182 run : |
164183 cd ..
165184 mkdir -p build/windows-portable/Passy
166185 cp -r Passy/build/windows/x64/runner/Release/. build/windows-portable/Passy
186+ cp Passy/build/Passy-Windows-Installer.exe build/Passy-Windows-Installer.exe
167187 - name : Upload Windows portable build
168188 uses : actions/upload-artifact@v4
169189 with :
170190 name : windows-portable
171191 path : D:\a\Passy\build\windows-portable
192+ - name : Upload Windows .exe installer
193+ uses : actions/upload-artifact@v4
194+ with :
195+ name : windows-exe-installer
196+ path : D:\a\Passy\build\Passy-Windows-Installer.exe
0 commit comments