diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1834e58..004c6ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,7 +90,7 @@ jobs: publish_nuget: needs: create_release runs-on: ubuntu-latest - environment: NugetOrg-Secret + environment: Personal steps: - name: Checkout code uses: actions/checkout@v3 @@ -116,12 +116,12 @@ jobs: echo "NUGET_API_KEY is present." fi env: - NUGET_API_KEY: ${{ secrets.NugetOrg-Secret.NUGET_ORG_API_KEY }} + NUGET_API_KEY: ${{ secrets.Personal.NUGET_ORG_API }} - name: Publish to NuGet env: - NUGET_API_KEY: ${{ secrets.NugetOrg-Secret.NUGET_ORG_API_KEY }} + NUGET_API_KEY: ${{ secrets.Personal.NUGET_ORG_API }} run: | dotnet nuget push ./nupkg/*.nupkg \ --api-key "$NUGET_API_KEY" \