Skip to content

Commit

Permalink
Update main.yml to support PreRelease versions
Browse files Browse the repository at this point in the history
Fixes #51
  • Loading branch information
ctolkien authored Jul 18, 2023
1 parent a82ccf7 commit b6bc60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: dotnet nuget push ${{ github.workspace}}/artifact/*.nupkg --source https://nuget.pkg.github.com/ctolkien/index.json --api-key ${{secrets.GITHUB_TOKEN}} --skip-duplicate

- name: Push to NuGet Package Registry
if: github.environment == 'Production'
if: ${{ (github.environment == 'Production') || (github.environment == 'PreRelease') }}
run: dotnet nuget push ${{ github.workspace}}/artifact/*.nupkg --api-key ${{ secrets.NUGET_APIKEY }} --skip-duplicate

- name: Extract version
Expand Down

0 comments on commit b6bc60c

Please sign in to comment.