Repository navigation
Release #42
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: Release | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| run_id: | |
| description: 'workflow run id' | |
| default: "latest" | |
| required: true | |
| dry-run: | |
| description: 'Build packages without publishing' | |
| required: true | |
| type: boolean | |
| default: true | |
| jobs: | |
| publish: | |
| name: Publish packages | |
| runs-on: ubuntu-latest | |
| environment: publish-prod | |
| if: ${{ github.event.inputs.dry-run == 'false' }} | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: NuGet login (OIDC) | |
| uses: NuGet/login@v1 | |
| id: nuget-login | |
| with: | |
| user: ${{ secrets.NUGET_BOT_USERNAME }} |