...
 
Commits (2)
......@@ -4,7 +4,7 @@ stages:
- build
- test
- pack
# - deploy
- deploy
# - release
before_script:
......@@ -12,7 +12,9 @@ before_script:
build:
stage: build
script: dotnet build
script:
- dotnet clean
- dotnet build
artifacts:
paths:
- ./Terminal/bin
......@@ -21,7 +23,7 @@ build:
test:
stage: test
script: dotnet test TerminalTests
pack:
stage: pack
script: dotnet pack ./Terminal/
......@@ -29,3 +31,10 @@ pack:
paths:
- ./Terminal/bin/Debug/netstandard2.0/*.dll
- ./Terminal/bin/Debug/*.nupkg
deploy:nuget:
stage: deploy
script: dotnet nuget push ./Terminal/bin/Debug/*.nupkg -k $NUGET_API_KEY
only:
refs:
- master