From f088a73525db2a77c119e1c259b417a128721622 Mon Sep 17 00:00:00 2001 From: Alex Wiese Date: Tue, 28 Jan 2020 09:33:36 +1030 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 30def45..235f6cf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,10 +20,12 @@ jobs: - uses: actions/setup-dotnet@v1 with: dotnet-version: '3.1.100' # SDK Version to use. + source-url: https://api.nuget.org/v3/index.json - run: dotnet build src/Lyre.sln --configuration Release - name: Create the package - run: dotnet pack --configuration Release src/Lyre.sln + run: dotnet pack --configuration Release src/Lyre.sln env: - NUGET_AUTH_TOKEN: ${{secrets.NUGET_PAT}} + NUGET_AUTH_TOKEN: ${{secrets.NUGET_PAT}} - name: Publish the package to GPR run: dotnet nuget push /bin/Release/*.nupkg +