Skip to content

Commit d56eb01

Browse files
committed
Fix incantations better - release-package.yml
1 parent c0db7a6 commit d56eb01

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release-package.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
run: dotnet build --configuration Release --no-restore
2727
- name: Test
2828
run: dotnet test --no-restore --verbosity normal
29+
2930
# - name: Determine Version
3031
# uses: paulhatch/semantic-version@v4.0.2
3132
# id: semantic_version
@@ -34,7 +35,7 @@ jobs:
3435

3536
- uses: nuget/setup-nuget@v1
3637
with:
37-
nuget-api-key: NUGET_API_KEY
38+
nuget-api-key: ${{ secrets.NuGetAPIKey }}
3839
nuget-version: '5.x'
3940
- name: Dump GitHub context
4041
env:
@@ -48,8 +49,8 @@ jobs:
4849
- name: Nuget Pack
4950
env:
5051
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 .
5253

5354
- 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}
5556

0 commit comments

Comments
 (0)