From 87c5a6a67822f0dae79ad875f7f7660f4fbe6f17 Mon Sep 17 00:00:00 2001 From: Christian Klemm Date: Tue, 1 Mar 2022 22:50:15 +0100 Subject: [PATCH] Update release.yaml (#78) --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a73047a..b5b7385 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,13 +26,13 @@ jobs: - name: Publish run: > - dotnet nuget add source --username $GITHUB_REPOSITORY_OWNER --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/$GITHUB_REPOSITORY_OWNER/index.json"; + dotnet nuget add source --username $GITHUB_REPOSITORY_OWNER --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"; export VERSION=$(git describe --long --tags --match 'v*' | sed 's/v//' | sed -E 's/[-].+//g'); echo $VERSION; dotnet pack --configuration Release --include-source -p:ContinuousIntegrationBuild=true -p:Version=$VERSION -o out src; cd out; dotnet nuget push *.nupkg --skip-duplicate --force-english-output -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json; - dotnet nuget push *.nupkg --skip-duplicate --force-english-output -s https://nuget.pkg.github.com/${{ github.repository.owner }}/index.json; + dotnet nuget push *.nupkg --skip-duplicate --force-english-output -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json; - name: Upload artifacts if: always()