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 : Deploy
22
33on :
4- workflow_dispatch :
4+ release :
5+ types : [published]
56
67jobs :
78 deploy :
89 runs-on : ubuntu-latest
9-
1010 steps :
11- - uses : actions/checkout@v2
12- with :
13- fetch-depth : 0
11+ - uses : actions/checkout@v3
12+ with :
13+ fetch-depth : 0
1414
15- - name : Setup .NET
16- uses : actions/setup-dotnet@v1
17- with :
18- dotnet-version : 6.0.x
15+ - name : Setup .NET
16+ uses : actions/setup-dotnet@v3
17+ with :
18+ dotnet-version : |
19+ 3.1.x
20+ 6.0.x
21+ 7.0.x
1922
20- - name : Deploy to NuGet
21- env :
22- FLOAT_NUGET_TOKEN : ${{ secrets.FLOAT_NUGET_TOKEN }}
23- run : ./build.sh --task=Deploy --configuration=Release --nugetUrl="https://api.nuget.org/v3/index.json" --nugetToken="${FLOAT_NUGET_TOKEN}"
23+ - name : Deploy to NuGet
24+ env :
25+ FLOAT_NUGET_TOKEN : ${{ secrets.FLOAT_NUGET_TOKEN }}
26+ run : ./build.sh --task=Deploy --configuration=Release --nugetUrl="https://api.nuget.org/v3/index.json" --nugetToken="${FLOAT_NUGET_TOKEN}"
You can’t perform that action at this time.
0 commit comments