3.9.5 - 🏢 Weather city search, reset screen on startup #8
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Generate Windows Packages (Debug) | |
| on: | |
| release: | |
| types: [ published ] | |
| permissions: | |
| contents: write | |
| jobs: | |
| generate-windows-installer: | |
| name: Generate Windows Packages (Debug) | |
| runs-on: windows-latest | |
| steps: | |
| - name: Git Checkout ${{github.event.release.tag_name}} | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r requirements.txt | |
| - name: Set version number for PyInstaller | |
| run: | | |
| python.exe tools\windows-installer\generate-version-info.py ${{github.event.release.tag_name}} debug | |
| - name: Run PyInstaller to create binaries | |
| run: | | |
| pyinstaller.exe --noconfirm turing-system-monitor-debug.spec | |
| "${{github.event.release.tag_name}}-debug" | Out-File ".\dist\turing-system-monitor\version.txt" | |
| - name: Create InnoSetup installer from generated binaries | |
| uses: Minionguyjpro/[email protected] | |
| with: | |
| path: tools/windows-installer/turing-system-monitor.iss | |
| options: /O+ | |
| - name: Create portable zip archive from generated binaries | |
| run: | | |
| Remove-Item -r ".\dist\turing-system-monitor\res\themes\--Theme examples\" | |
| 7z a -tzip turing-system-monitor-${{github.event.release.tag_name}}-portable-debug.zip ".\dist\turing-system-monitor" | |
| - name: '📦 Archive Windows installer' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: turing-system-monitor-${{github.event.release.tag_name}}-debug | |
| path: tools\windows-installer\Output\turing-system-monitor-${{github.event.release.tag_name}}-debug.exe | |
| if-no-files-found: error | |
| - name: '📦 Archive Windows portable archive' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: turing-system-monitor-${{github.event.release.tag_name}}-portable-debug | |
| path: turing-system-monitor-${{github.event.release.tag_name}}-portable-debug.zip | |
| if-no-files-found: error | |
| - name: '📩 Publish Windows installer to Release' | |
| run: | | |
| gh release upload ${{github.event.release.tag_name}} tools\windows-installer\Output\turing-system-monitor-${{github.event.release.tag_name}}-debug.exe | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: '📩 Publish Windows portable zip to Release' | |
| run: | | |
| gh release upload ${{github.event.release.tag_name}} turing-system-monitor-${{github.event.release.tag_name}}-portable-debug.zip | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |