diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index f4de8d36..a5543ed1 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -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: | -
`$TITLE` (#$NUMBER) @$AUTHOR
+
$TITLE (#$NUMBER) @$AUTHOR
$BODY
diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index af4ab462..a7a793d6 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -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 diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index cd316108..e9fb2ffb 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -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: