-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSOE-597: Breaking API change detector during NuGet publishing #264
Conversation
- name: Push with dotnet | ||
shell: pwsh | ||
run: dotnet nuget push artifacts/*.nupkg --api-key $Env:API_KEY --source '${{ steps.setup.outputs.source-url }}' --skip-duplicate | ||
|
||
- name: Publish Artifacts | ||
uses: actions/[email protected] | ||
with: | ||
name: NuGet-Package | ||
path: artifacts | ||
retention-days: ${{ inputs.nuget-artifact-retention-days }} | ||
|
||
# This is not in its own action because it's all very specific to this NuGet publishing. | ||
- name: Create Release | ||
# v1.11.2 | ||
uses: ncipollo/release-action@18eadf9c9b0f226f47f164f5373c6a44f0aae169 | ||
# This is to prevent creating releases when pushing tags for issue-specific pre-releases like | ||
# v4.3.1-alpha.osoe-86. | ||
if: "!contains(steps.setup.outputs.publish-version, '-')" | ||
with: | ||
allowUpdates: true | ||
generateReleaseNotes: true | ||
artifacts: artifacts/*.nupkg, artifacts/*.snupkg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this part until testing, so NuGet packages are not published. When the reviewer is done I'll restore this part.
Approved. Please revert #264 (comment) and then you can go ahead and merge too. |
Please approve the PR otherwise the Validate GitHub Actions Refs check will fail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please approve the PR otherwise the Validate GitHub Actions Refs check will fail.
Neat!
|
This was fun! |
OSOE-597
Fixes #220