ngh
This commit is contained in:
parent
48df937b7f
commit
445ea24dd2
4 changed files with 37 additions and 13 deletions
|
|
@ -8,6 +8,7 @@ before_script:
|
|||
- echo "Before script section"
|
||||
- echo "For example you might run an update here or install a build dependency"
|
||||
- echo "Or perhaps you might print out some debugging details"
|
||||
- dotnet restore --ignore-failed-sources
|
||||
|
||||
after_script:
|
||||
- echo "After script section"
|
||||
|
|
@ -16,13 +17,12 @@ after_script:
|
|||
build1:
|
||||
stage: build
|
||||
script:
|
||||
- echo "Do your build here"
|
||||
- dotnet build
|
||||
|
||||
test1:
|
||||
stage: test
|
||||
script:
|
||||
- echo "Do a test here"
|
||||
- echo "For example run a test suite"
|
||||
- dotnet test
|
||||
|
||||
test2:
|
||||
stage: test
|
||||
|
|
@ -33,4 +33,9 @@ test2:
|
|||
deploy1:
|
||||
stage: deploy
|
||||
script:
|
||||
- echo "Do your deploy here"
|
||||
- dotnet publish --self-contained --version-suffix ci --configuration Release --ignore-failed-sources
|
||||
|
||||
deploy2:
|
||||
stage: deploy
|
||||
script:
|
||||
- dotnet pack --self-contained --version-suffix ci --configuration Release --ignore-failed-sources
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue