Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
Run dotnet nuget push ./bin/Release/*.nupkg --api-key $NUGET_ORG_PUSH_TOKEN --source https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols
  dotnet nuget push ./bin/Release/*.nupkg --api-key $NUGET_ORG_PUSH_TOKEN --source https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    ACTIONS_ALLOW_UNSECURE_COMMANDS: true
    DOTNET_ROOT: C:\Program Files\dotnet
    GIT_TAG_NAME: 0.2.6
    NUGET_ORG_PUSH_TOKEN: ***
error: Source parameter was not specified.
  • Loading branch information
Konstantin committed Oct 10, 2024
1 parent 65a2061 commit 0a006a8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ jobs:
- name: Nuget push MaLoIdentModels
working-directory: "MaLoIdentModels/MaLoIdentModels"
# token: https://github.com/Hochfrequenz/MaLoIdentModels/settings/secrets/actions/NUGET_ORG_PUSH_TOKEN
# expires 2025-09-27; token is owned by konstantin as of now.
env:
NUGET_ORG_PUSH_TOKEN: ${{ secrets.NUGET_ORG_PUSH_TOKEN }}
# expires 2025-09-27; token is owned by konstantin as of now.
run: |
dotnet nuget push ./bin/Release/*.nupkg --api-key $NUGET_ORG_PUSH_TOKEN --source https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols
dotnet nuget push ./bin/Release/*.nupkg --api-key ${{ secrets.NUGET_ORG_PUSH_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols

0 comments on commit 0a006a8

Please sign in to comment.