File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 5
5
types : [published]
6
6
7
7
env :
8
- NUGET_API_KEY :
8
+ NUGET_API_KEY : oy2b5rtpxedtgjhfzb5qxmv737u34pkerpviyrwczbrhgm
9
9
10
10
jobs :
11
11
release-serviurtium-core :
31
31
# id: semantic_version
32
32
# with:
33
33
# format: "${major}.${minor}.${patch}-dev.{increment}"
34
+
35
+ - uses : nuget/setup-nuget@v1
36
+ with :
37
+ nuget-api-key : ${{ NUGET_API_KEY }}
38
+ nuget-version : ' 5.x'
34
39
- name : Dump GitHub context
35
40
env :
36
41
GITHUB_CONTEXT : ${{ toJSON(github) }}
43
48
- name : Nuget Pack
44
49
env :
45
50
VERSION : ${{ steps.extract-version.outputs.result }}
46
- run : dotnet pack ./Servirtium.Core/Servirtium.Core.csproj --configuration Release /p:Version=${VERSION} --no-build --output .
51
+ run : nuget pack ./Servirtium.Core/Servirtium.Core.csproj --configuration Release /p:Version=${VERSION} --no-build --output .
47
52
48
53
- name : Nuget Push
49
- run : dotnet push Servirtium.Core.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
54
+ run : nuget push Servirtium.Core.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
50
55
You can’t perform that action at this time.
0 commit comments