Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
karimz1 committed Jan 12, 2025
1 parent efff378 commit 592dd21
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
publish_nuget:
needs: create_release
runs-on: ubuntu-latest
environment: NugetOrg-Secret
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -115,12 +116,12 @@ jobs:
echo "NUGET_API_KEY is present."
fi
env:
NUGET_API_KEY: ${{ secrets.NUGET_ORG_API_KEY }}
NUGET_API_KEY: ${{ secrets.NugetOrg-Secret.NUGET_ORG_API_KEY }}


- name: Publish to NuGet
- name: Publish to NuGet
env:
NUGET_API_KEY: ${{ secrets.NUGET_ORG_API_KEY }}
NUGET_API_KEY: ${{ secrets.NugetOrg-Secret.NUGET_ORG_API_KEY }}
run: |
dotnet nuget push ./nupkg/*.nupkg \
--api-key "$NUGET_API_KEY" \
Expand Down

0 comments on commit 592dd21

Please sign in to comment.