File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -243,3 +243,39 @@ jobs:
243
243
with :
244
244
name : ${{matrix.artifact.name}}-${{matrix.arch.name}}
245
245
path : artifacts
246
+ nuget :
247
+ runs-on : windows-latest
248
+ needs : pkg
249
+ steps :
250
+ - name : Download pkg-x86_64
251
+ uses : actions/download-artifact@v1
252
+ with :
253
+ name : pkg-x86_64
254
+ path : pkg-x86_64
255
+ - name : Download bundle-artifacts
256
+ uses : actions/download-artifact@v1
257
+ with :
258
+ name : bundle-artifacts
259
+ path : bundle-artifacts
260
+ - name : Download git-sdk-64-build-installers
261
+ shell : bash
262
+ run : a=git-sdk-64-build-installers && mkdir -p $a && curl -# https://wingit.blob.core.windows.net/ci-artifacts/$a.tar.xz | tar -C $a -xJf -
263
+ - name : Clone build-extra
264
+ run : git clone --single-branch -b master https://github.com/git-for-windows/build-extra git-sdk-64-build-installers\usr\src\build-extra
265
+ - uses : nuget/setup-nuget@v1
266
+ - name : Build 64-bit NuGet packages
267
+ shell : powershell
268
+ run : |
269
+ & .\git-sdk-64-build-installers\usr\bin\bash.exe -lc @"
270
+ set -x
271
+ # Update the release notes
272
+ git -C /usr/src/build-extra pull \"`$PWD\"/bundle-artifacts/build-extra.bundle master &&
273
+ /usr/src/build-extra/please.sh make_installers_from_mingw_w64_git --version=`$(cat pkg-x86_64/ver) -o artifacts --nuget --pkg=pkg-x86_64/mingw-w64-x86_64-git-[0-9]*.tar.xz --pkg=pkg-x86_64/mingw-w64-x86_64-git-doc-html-[0-9]*.tar.xz &&
274
+ /usr/src/build-extra/please.sh make_installers_from_mingw_w64_git --version=`$(cat pkg-x86_64/ver) -o artifacts --nuget-mingit &&
275
+ openssl dgst -sha256 artifacts/Git*.nupkg | sed \"s/.* //\" >artifacts/sha-256.txt
276
+ "@
277
+ - name : Publish nuget-x86_64
278
+ uses : actions/upload-artifact@v1
279
+ with :
280
+ name : nuget-x86_64
281
+ path : artifacts
You can’t perform that action at this time.
0 commit comments