Skip to content

Commit

Permalink
Update appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kralizek committed Jan 26, 2021
1 parent 7959d94 commit a162c68
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 1,
"isRoot": true,
"tools": {
"cake.tool": {
"version": "0.33.0",
"commands": [
"dotnet-cake"
]
},
"coveralls.net": {
"version": "2.0.0",
"commands": [
"csmacnz.Coveralls"
]
}
}
}
14 changes: 11 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ nuget:
disable_publish_on_pr: true

install:
- cmd: dotnet tool install -g Cake.Tool --version 0.33.0
- cmd: dotnet tool install coveralls.net --tool-path tools
- cmd: dotnet tool restore

build_script:
- cmd: dotnet cake --target=Full

after_build:
- ps: if ($env:COVERALLS_REPO_TOKEN -ne $null) { .\tools\csmacnz.coveralls.exe --reportgenerator -i .\outputs\tests\report --repoToken $env:COVERALLS_REPO_TOKEN --commitId $env:APPVEYOR_REPO_COMMIT --commitBranch $env:APPVEYOR_REPO_BRANCH --commitAuthor $env:APPVEYOR_REPO_COMMIT_AUTHOR --commitEmail $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL --commitMessage $env:APPVEYOR_REPO_COMMIT_MESSAGE --jobId $env:APPVEYOR_JOB_ID }
- ps: if ($env:COVERALLS_REPO_TOKEN -ne $null) { dotnet csmacnz.Coveralls --reportgenerator -i .\outputs\tests\report --repoToken $env:COVERALLS_REPO_TOKEN --commitId $env:APPVEYOR_REPO_COMMIT --commitBranch $env:APPVEYOR_REPO_BRANCH --commitAuthor $env:APPVEYOR_REPO_COMMIT_AUTHOR --commitEmail $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL --commitMessage $env:APPVEYOR_REPO_COMMIT_MESSAGE --jobId $env:APPVEYOR_JOB_ID }

test: off

Expand Down Expand Up @@ -52,3 +51,12 @@ deploy:
- master
- main
appveyor_repo_tag: true
- provider: GitHub
on:
branch:
- master
- main
appveyor_repo_tag: true
auth_token:
secure: Qv4tMB9BvNni2+v69vK38jQq2ga1+GiI/YqCWkiA1fZN72v2NtaZo6UpwmXQNkop
artifact: /.*.nupkg/

0 comments on commit a162c68

Please sign in to comment.