File tree Expand file tree Collapse file tree 4 files changed +41
-43
lines changed
src/linux/Packaging.Linux Expand file tree Collapse file tree 4 files changed +41
-43
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -354,4 +354,39 @@ jobs:
354354 path : |
355355 signed
356356 signed-payload
357- src/windows/Installer.Windows/symbols
357+ src/windows/Installer.Windows/symbols
358+
359+ # ================================
360+ # Linux
361+ # ================================
362+ linux-build :
363+ name : Build Linux
364+ runs-on : ubuntu-latest
365+ steps :
366+ - uses : actions/checkout@v3
367+ with :
368+ fetch-depth : 0 # Indicate full history so Nerdbank.GitVersioning works.
369+
370+ - name : Setup .NET
371+ uses : actions/setup-dotnet@v2
372+ with :
373+ dotnet-version : 6.0.201
374+
375+ - name : Install dependencies
376+ run : dotnet restore
377+
378+ - name : Build
379+ run : dotnet build --configuration=LinuxRelease
380+
381+ - name : Lay out
382+ run : |
383+ mkdir -p linux-build/deb linux-build/tar
384+ mv out/linux/Packaging.Linux/deb/Release/*.deb linux-build/deb
385+ mv out/linux/Packaging.Linux/tar/Release/*.tar.gz linux-build/tar
386+
387+ - name : Upload artifacts
388+ uses : actions/upload-artifact@v3
389+ with :
390+ name : linux-build
391+ path : |
392+ linux-build
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ To uninstall:
137137
138138``` shell
139139git-credential-manager-core unconfigure
140- sudo dpkg -r gcmcore
140+ sudo dpkg -r gcm
141141```
142142
143143#### Other distributions
Original file line number Diff line number Diff line change @@ -75,12 +75,12 @@ SYMBOLOUT="$PROJ_OUT/payload.sym/$CONFIGURATION"
7575
7676if [ $INSTALL_FROM_SOURCE = false ]; then
7777 TAROUT=" $PROJ_OUT /tar/$CONFIGURATION "
78- TARBALL=" $TAROUT /gcmcore -linux_$ARCH .$VERSION .tar.gz"
79- SYMTARBALL=" $TAROUT /symbols -linux_$ARCH .$VERSION .tar.gz"
78+ TARBALL=" $TAROUT /gcm -linux_$ARCH .$VERSION .tar.gz"
79+ SYMTARBALL=" $TAROUT /gcm -linux_$ARCH .$VERSION -symbols .tar.gz"
8080
8181 DEBOUT=" $PROJ_OUT /deb/$CONFIGURATION "
8282 DEBROOT=" $DEBOUT /root"
83- DEBPKG=" $DEBOUT /gcmcore -linux_$ARCH .$VERSION .deb"
83+ DEBPKG=" $DEBOUT /gcm -linux_$ARCH .$VERSION .deb"
8484else
8585 INSTALL_LOCATION=" /usr/local"
8686fi
@@ -193,7 +193,7 @@ if [ $INSTALL_FROM_SOURCE = false ]; then
193193# https://stackoverflow.com/questions/9349616/bash-eof-in-if-statement
194194# for details
195195cat > " $DEBROOT /DEBIAN/control" << EOF
196- Package: gcmcore
196+ Package: gcm
197197Version: $VERSION
198198Section: vcs
199199Priority: optional
You can’t perform that action at this time.
0 commit comments