Skip to content

Commit

Permalink
feat(publish): changed command
Browse files Browse the repository at this point in the history
  • Loading branch information
zhifenglee-aelf committed Jun 6, 2024
1 parent ae0812f commit 6e278ab
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish-templates-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
run: dotnet pack --configuration Release --output nupkgs /p:Version=$VERSION

- name: Publish NuGet packages
uses: dansiegel/[email protected]
with:
filename: '**/*.nupkg'
apiKey: ${{ secrets.TEST_NUGET_API_KEY }}
feedUrl: ${{ secrets.TEST_NUGET_FEED_URL }}
working-directory: ${{ env.WORKING_DIRECTORY }}
run: |
dotnet nuget push "**/*.nupkg" --api-key ${{ secrets.TEST_NUGET_API_KEY }} --source secrets.TEST_NUGET_FEED_URL

0 comments on commit 6e278ab

Please sign in to comment.