Build app bundle #3
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 app bundle | |
| on: | |
| release: | |
| types: [created] | |
| env: | |
| DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
| DOTNET_NOLOGO: 1 | |
| jobs: | |
| build: | |
| runs-on: macos-15 # dotnet SDK 9.0.2 is implicitly installed on this | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use XCode 16.3 | |
| run: sudo xcode-select -switch /Applications/Xcode_16.3.app | |
| - name: Install dotnet workload to compile for macOS | |
| run: dotnet workload install macos | |
| - name: Restore NuGet packages | |
| run: dotnet restore | |
| - name: Publish app bundle | |
| run: dotnet publish --configuration Release --no-restore -p:AssemblyVersion=${{ github.ref_name }} -o publish/ src/ColimaStatusBar | |
| - name: Upload bundle to release | |
| uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 | |
| with: | |
| files: | | |
| publish/ColimaStatusBar-${{ github.ref_name }}.zip | |
| publish/ColimaStatusBar-${{ github.ref_name }}.zip-CHECKSUM |