Build and Publish WinUI3 App #28
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 and Publish WinUI3 App | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: 'Version number (e.g., 1.0.0.1)' | |
| required: true | |
| type: string | |
| prerelease: | |
| description: 'If pre_release' | |
| required: true | |
| type: boolean | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/build.yml | |
| with: | |
| version: ${{ github.event.inputs.version }} | |
| secrets: | |
| SIGNING_CERT: ${{ secrets.SIGNING_CERT }} | |
| publish: | |
| needs: build | |
| uses: ./.github/workflows/publish.yml | |
| with: | |
| artifact-name: ${{ needs.build.outputs.artifact-name }} | |
| secrets: | |
| AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }} | |
| AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }} | |
| AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }} | |
| PRODUCT_ID: ${{ secrets.PRODUCT_ID }} |