Skip to content

Commit

Permalink
Merge pull request #3 from leafbird/dev
Browse files Browse the repository at this point in the history
nuget add source 과정을 없애고 api-key 써서 바로 push하도록 변경
  • Loading branch information
leafbird authored Nov 5, 2023
2 parents 2f3a549 + fae9391 commit d1be21c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,5 @@ jobs:
name: nuget
path: ${{env.ARTIFACT_PATH}}

- name: add nuget source
run: dotnet nuget add source --username ${{github.repository_owner}} --password ${{ secrets.PRIVATE_ACCESS_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{github.repository_owner}}/index.json"

- name: push
run : dotnet nuget push ${{env.ARTIFACT_PATH}}/**/*.nupkg --source "github"
# run : dotnet nuget push ${{env.ARTIFACT_PATH}}/**/*.nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.PRIVATE_ACCESS_TOKEN }}
run : dotnet nuget push ${{env.ARTIFACT_PATH}}/**/*.nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.PRIVATE_ACCESS_TOKEN }}

0 comments on commit d1be21c

Please sign in to comment.