Deploy artifacts to github releases

This commit is contained in:
Paul Pacheco 2018-07-21 11:56:44 -05:00
parent 9227eacbbf
commit 910f01f837

View File

@ -9,6 +9,7 @@ build:
artifacts: artifacts:
- path: Unity-Technologies-networking/Output - path: Unity-Technologies-networking/Output
name: HLAPI_CE_2017.4_improvements
image: Visual Studio 2017 image: Visual Studio 2017
@ -20,3 +21,14 @@ after_test:
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
bash codecov.sh -f "coverage.xml" bash codecov.sh -f "coverage.xml"
deploy:
description: 'HLAPI community edition $(APPVEYOR_REPO_BRANCH) '
provider: GitHub
auth_token:
secure: G42snf8s5fEos7UfoRSW6eW+8rqGGMH3iw1ZCjRUjcUSKupHUfrKJMXQ11wbjRuW # your encrypted token from GitHub
artifact: Unity-Technologies-networking\HLAPI_CE_2017.4_improvements.zip # upload all NuGet packages to release assets
draft: false
prerelease: false
on:
appveyor_repo_tag: true # deploy on tag push only