diff --git a/.github/workflows/bcny-ci.yml b/.github/workflows/bcny-ci.yml index 916bb2dd3..36706408e 100644 --- a/.github/workflows/bcny-ci.yml +++ b/.github/workflows/bcny-ci.yml @@ -58,3 +58,38 @@ jobs: with: name: sentry-native-windows-${{ matrix.arch }} path: sentry-native-development + + - name: Package Sentry + run: | + $suffix = "${{ matrix.arch }}".ToLower() + @" + + + + io.sentry.sentry-native.win.crashpad.$suffix + 0.0.0.0 + Sentry Native SDK + C++ Sentry Native SDK + Functional Software, Inc. + https://github.com/getsentry/sentry-native + + + + + + + + + + + + + + "@ | Out-File -Encoding UTF8 sentry.nuspec + nuget pack -Properties DESTDIR=sentry-native-development\usr -Suffix (git log -1 --format=%h) sentry.nuspec + shell: pwsh + + - uses: actions/upload-artifact@v3 + with: + name: windows-${{ matrix.arch }}.nupkg + path: io.sentry.sentry-native.win.*.0.0.0-*.nupkg