Skip to content

Commit 0576071

Browse files
committed
forgot source and working dir
1 parent cf28a81 commit 0576071

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release-package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Release package to NuGet
33
env:
44
OUTPUT_PATH: ${{ github.workspace }}/.output
55
DOTNET_VERSION: "3.1.100"
6+
NUGET_SOURCE: "https://api.nuget.org/v3/index.json"
67

78
on:
89
issues:
@@ -71,9 +72,10 @@ jobs:
7172

7273
- name: Push NuGet Package
7374
if: steps.check-issue.outputs.exists == 'true'
75+
working-directory: ${{ env.OUTPUT_PATH }}
7476
run: |
75-
dotnet nuget push FSharp.CosmosDb.${{ env.package_version }}.nupkg --api-key ${{ secrets.NUGET_KEY }}
76-
dotnet nuget push FSharp.CosmosDb.Analyzer.${{ env.package_version }}.nupkg --api-key ${{ secrets.NUGET_KEY }}
77+
dotnet nuget push FSharp.CosmosDb.${{ env.package_version }}.nupkg --api-key ${{ secrets.NUGET_KEY }} --source ${{ env.NUGET_SOURCE }}
78+
dotnet nuget push FSharp.CosmosDb.Analyzer.${{ env.package_version }}.nupkg --api-key ${{ secrets.NUGET_KEY }} --source ${{ env.NUGET_SOURCE }}
7779
7880
- name: Get Action sha
7981
if: steps.check-issue.outputs.exists == 'true'

0 commit comments

Comments
 (0)