fix: update publisher and company information in app manifest and pro… #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: Build & Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' # Push a tag like v1.0.0 to trigger a release | |
| workflow_dispatch: # Also allow manual trigger from GitHub Actions tab | |
| permissions: | |
| contents: write # Needed to create GitHub Releases | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET 8 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '8.0.x' | |
| # ── Publish as a normal folder (NOT single-file) so pdfium.dll stays intact ── | |
| - name: Publish (self-contained) | |
| run: > | |
| dotnet publish WindowsNotesApp.csproj | |
| -c Release | |
| -r win-x64 | |
| --self-contained true | |
| -o publish | |
| # ── Build a proper Windows installer with Inno Setup ── | |
| - name: Build Installer (Inno Setup) | |
| run: | | |
| & "${env:ProgramFiles(x86)}\Inno Setup 6\ISCC.exe" installer.iss | |
| # ── Also create a portable zip ── | |
| - name: Zip portable release | |
| run: Compress-Archive -Path publish\* -DestinationPath Caelum-Portable-win-x64.zip | |
| # ── When triggered by a tag push → create a GitHub Release ── | |
| - name: Create GitHub Release | |
| if: startsWith(github.ref, 'refs/tags/') | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: | | |
| installer_output/Caelum-Setup-*.exe | |
| Caelum-Portable-win-x64.zip | |
| generate_release_notes: true | |
| # ── Always upload as artifacts (manual runs too) ── | |
| - name: Upload installer artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Caelum-Installer | |
| path: installer_output/Caelum-Setup-*.exe | |
| - name: Upload portable artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Caelum-Portable | |
| path: publish/ |