Skip to content

Commit

Permalink
Merge pull request #34 from Matthew-Wise/Matthew-Wise-patch-1
Browse files Browse the repository at this point in the history
Enabled nuget Release in main.yml
  • Loading branch information
Matthew-Wise authored Oct 26, 2023
2 parents b09ee9a + a2f51ef commit b2b58f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ jobs:
run: dotnet test $TESTPROJECT -c $BUILD_CONFIG --no-build --verbosity normal --filter "Category!=LongRunning"

- name: Variable Test
run: echo "Test - $BUILDNUMBER"
run: echo "Test - $BUILD_VERSION"

- name: Publish
if: github.event_name == 'release'
run: echo "Release number - $BUILDNUMBER"
#run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}

0 comments on commit b2b58f1

Please sign in to comment.