Skip to content

Commit

Permalink
Update pack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmjr authored Dec 27, 2023
1 parent e028a76 commit ab41409
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Run setup-dgmjrsdk
uses: dgmjr-actions/setup-dgmjrsdk@main
uses: dgmjr-actions/nuget-push@main
with:
git-token: ${{ secrets.GITHUB_TOKEN }}
environment: Release
git-nuget-endpoint: ${{ vars.GIT_NUGET_ENDPOINT }}
private-nuget-endpoint: ${{ vars.PROGET_ENDPOINT_URL }}
private-nuget-api-key: ${{ secrets.PROGET_API_KEY }}
- name: Download NuGet Package
uses: actions/[email protected]
with:
name: DgmjrSdk-NuGetPackage
# - name: Publish NuGet to GitHub
# shell: bash
# run: dotnet nuget push **/*.nupkg --source GitHub --api-key ${{ secrets.GITHUB_TOKEN }}
- name: Publish NuGet DGMJR-IO private feed
shell: bash
run: dotnet nuget push **/*.nupkg --source dgmjr-io --api-key ${{ secrets.PROGET_API_KEY }}
repo: dgmjr-io/DgmjrSdk
push-github: true
push-dgmjr-io: false
push-nuget: false

0 comments on commit ab41409

Please sign in to comment.