mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-09-22 06:45:03 +00:00
Add Nuget packages to auto-build
This commit is contained in:
@@ -34,6 +34,7 @@ build_script:
|
||||
- cmd: dotnet publish Test\Test.csproj --framework net6.0 --runtime win-x64 --self-contained true -p:PublishSingleFile=true
|
||||
- cmd: dotnet publish Test\Test.csproj --framework net6.0 --runtime linux-x64 --self-contained true -p:PublishSingleFile=true
|
||||
- cmd: dotnet publish Test\Test.csproj --framework net6.0 --runtime osx-x64 --self-contained true -p:PublishSingleFile=true
|
||||
- cmd: dotnet pack BurnOutSharp\BurnOutSharp.csproj
|
||||
|
||||
# post-build script
|
||||
after_build:
|
||||
@@ -48,6 +49,8 @@ after_build:
|
||||
- cmd: cd %APPVEYOR_BUILD_FOLDER%\Test\bin\Debug\net6.0\osx-x64\publish\
|
||||
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\BurnOutSharp_net6.0_osx-x64.zip *
|
||||
|
||||
- cmd: mv %APPVEYOR_BUILD_FOLDER%\BurnOutSharp\bin\Debug\*.nupkg %APPVEYOR_BUILD_FOLDER%
|
||||
|
||||
# success/failure tracking
|
||||
on_success:
|
||||
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
|
||||
@@ -68,3 +71,6 @@ artifacts:
|
||||
name: BurnOutSharp (.NET 6.0, Linux x64)
|
||||
- path: BurnOutSharp_net6.0_osx-x64.zip
|
||||
name: BurnOutSharp (.NET 6.0, OSX x64)
|
||||
|
||||
- path: '*.nupkg'
|
||||
name: Nuget Packages
|
||||
|
||||
Reference in New Issue
Block a user