File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 26
26
run : dotnet build --configuration Release --no-restore
27
27
- name : Test
28
28
run : dotnet test --no-restore --verbosity normal
29
+
29
30
# - name: Determine Version
30
31
# uses: paulhatch/semantic-version@v4.0.2
31
32
# id: semantic_version
34
35
35
36
- uses : nuget/setup-nuget@v1
36
37
with :
37
- nuget-api-key : NUGET_API_KEY
38
+ nuget-api-key : ${{ secrets.NuGetAPIKey }}
38
39
nuget-version : ' 5.x'
39
40
- name : Dump GitHub context
40
41
env :
48
49
- name : Nuget Pack
49
50
env :
50
51
VERSION : ${{ steps.extract-version.outputs.result }}
51
- run : nuget pack ./Servirtium.Core/Servirtium.Core.csproj --configuration Release /p:Version=${VERSION} --no-build --output .
52
+ run : dotnet pack ./Servirtium.Core/Servirtium.Core.csproj --configuration Release /p:Version=${VERSION} --no-build --output .
52
53
53
54
- name : Nuget Push
54
- run : nuget push Servirtium.Core.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
55
+ run : dotnet nuget push Servirtium.Core.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
55
56
You can’t perform that action at this time.
0 commit comments