more CI
parent
205c5fcfc5
commit
fbc0dffc4e
|
@ -16,6 +16,8 @@ jobs:
|
||||||
- run: dotnet restore
|
- run: dotnet restore
|
||||||
- run: dotnet build -c Release
|
- run: dotnet build -c Release
|
||||||
- run: dotnet test -c Release
|
- run: dotnet test -c Release
|
||||||
|
- persist_to_workspace:
|
||||||
|
root: .
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
@ -23,16 +25,13 @@ jobs:
|
||||||
- checkout
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run: dotnet nuget push ./encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -k $API_KEY -s $NUGET_SOURCE
|
||||||
name: deploy to NuGet
|
|
||||||
command: |
|
|
||||||
dotnet nuget push ./encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -k $API_KEY -s $NUGET_SOURCE
|
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
test_and_deploy:
|
test_and_deploy:
|
||||||
jobs:
|
jobs:
|
||||||
- test
|
test
|
||||||
- deploy:
|
- deploy:
|
||||||
requires:
|
requires:
|
||||||
- test
|
- test
|
||||||
|
|
Loading…
Reference in New Issue