Skip to content

Commit

Permalink
Release v0.1.0
Browse files Browse the repository at this point in the history
Enable NuGet.org publish
  • Loading branch information
m-wild committed Jul 2, 2020
1 parent 68c34e0 commit fb0fb57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/tags/v}
- name: Create Nuget package
run: dotnet pack ./src/Saunter/Saunter.csproj --configuration Release -p:Version="$RELEASE_VERSION" --output ./build
# - name: Push Nuget package to Nuget.org
# env:
# NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
# run: dotnet nuget push ./build/*.nupkg --api-key $NUGET_API_KEY --source "https://api.nuget.org/v3/index.json"
- name: Push Nuget package to Nuget.org
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: dotnet nuget push ./build/*.nupkg --api-key $NUGET_API_KEY --source "https://api.nuget.org/v3/index.json"


0 comments on commit fb0fb57

Please sign in to comment.