From 4dfb69b922f8f43908c74785184a850e710283da Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 4 Dec 2023 16:28:14 -0800 Subject: [PATCH] Update bcny-ci.yml (#3) Add initial packaging step for the nupkg --- .github/workflows/bcny-ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) 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