File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Release
22
33on :
4- push :
5- branches :
6- - main
7- - patches/*
8-
9- env :
10- productNamespacePrefix : " ReactiveUI"
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : write
8+ id-token : write
119
1210jobs :
1311 release :
1412 uses : reactiveui/actions-common/.github/workflows/workflow-common-release.yml@main
1513 with :
16- configuration : Release
17- productNamespacePrefix : " ReactiveUI"
18- useVisualStudioPreview : false
19- solutionFile : " reactiveui.sln"
14+ solutionFile : reactiveui.slnx
15+ installWorkloads : true
2016 secrets :
21- SIGN_CLIENT_USER_ID : ${{ secrets.SIGN_CLIENT_USER_ID }}
22- SIGN_CLIENT_SECRET : ${{ secrets.SIGN_CLIENT_SECRET }}
23- SIGN_CLIENT_CONFIG : ${{ secrets.SIGN_CLIENT_CONFIG }}
24- NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
17+ ES_USERNAME : ${{ secrets.ES_USERNAME }}
18+ ES_PASSWORD : ${{ secrets.ES_PASSWORD }}
19+ CREDENTIAL_ID : ${{ secrets.CREDENTIAL_ID }}
20+ ES_TOTP_SECRET : ${{ secrets.ES_TOTP_SECRET }}
21+
22+ publish-nuget :
23+ needs : release
24+ runs-on : ubuntu-latest
25+ environment :
26+ name : release
27+ permissions :
28+ id-token : write
29+ steps :
30+ - name : Download signed packages
31+ uses : actions/download-artifact@v6
32+ with :
33+ name : signed-nuget
34+
35+ - name : Setup .NET
36+ uses : actions/setup-dotnet@v5
37+
38+ - name : NuGet login (OIDC trusted publishing)
39+ id : nuget-login
40+ uses : NuGet/login@v1
41+ with :
42+ user : ${{ secrets.NUGET_USER }}
43+
44+ - name : Push to NuGet
45+ shell : bash
46+ run : |
47+ for pkg in *.nupkg; do
48+ dotnet nuget push "$pkg" --source https://api.nuget.org/v3/index.json --api-key "${{ steps.nuget-login.outputs.NUGET_API_KEY }}"
49+ done
50+
51+ create-release :
52+ needs : [release, publish-nuget]
53+ uses : reactiveui/actions-common/.github/workflows/workflow-common-create-release.yml@main
54+ with :
55+ version : ${{ needs.release.outputs.semver2 }}
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json" ,
33
4- "version" : " 23.1.0-beta.{height} " ,
4+ "version" : " 23.1" ,
55
66 "publicReleaseRefSpec" : [
77 " ^refs/heads/master$" ,
You can’t perform that action at this time.
0 commit comments