Skip to content

Commit

Permalink
Try to fix why only CSharpMath the package was published to NuGet (#152)
Browse files Browse the repository at this point in the history
* Update Release.yml

* Don't quote the title with backticks

* Ahhh

* Update Release.yml
  • Loading branch information
Happypig375 authored Aug 2, 2020
1 parent 0f81662 commit 337d493
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ categories:
label: 'Type/Housekeeping'
# Extra line before $BODY or markdown on the first line of $BODY will be interpreted as plain text
change-template: |
<details><summary>`$TITLE` (#$NUMBER) @$AUTHOR</summary><table><td>
<details><summary>$TITLE (#$NUMBER) @$AUTHOR</summary><table><td>
$BODY
</td></table></details>
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,6 @@ jobs:
file_glob: true
overwrite: true
- name: Upload to NuGet
run: dotnet nuget push .nupkgs/* -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
run: dotnet nuget push .nupkgs/ -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
# If .nupkgs/* is used instead of .nupkg/ as the path, then not all files will be uploaded
# So CSharpMath.0.5.0-alpha.nupkg and CSharpMath.0.5.0-alpha.snupkg will be uploaded but not others e.g. CSharpMath.Rendering.0.5.0-alpha.nupkg
2 changes: 1 addition & 1 deletion .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
run: |
# Non-Windows platforms require --store-password-in-clear-text: https://github.com/NuGet/Home/issues/1851
dotnet nuget add source https://nuget.pkg.github.com/verybadcat/index.json -n github -u verybadcat -p ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text
dotnet nuget push .nupkgs/ --source "github" --skip-duplicate
dotnet nuget push .nupkgs/*.nupkg --source "github" --skip-duplicate # Don't let GitHub Releases interpret .snupkg as .nupkg
Ios:
runs-on: macos-latest
steps:
Expand Down

0 comments on commit 337d493

Please sign in to comment.