mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Make GitHub release only happen on successful build
This commit is contained in:
parent
26b180e07a
commit
17004f014e
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,7 @@ steps:
|
|||
./.ci/script.sh
|
||||
sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true
|
||||
cp ./.ci/bintray-release.json .
|
||||
failOnStderr: 'true'
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
#sourceFolder: # Optional
|
||||
|
@ -23,6 +24,7 @@ steps:
|
|||
#overWrite: false # Optional
|
||||
#flattenFolders: false # Optional
|
||||
- task: GitHubRelease@0
|
||||
condition: succeeded()
|
||||
inputs:
|
||||
gitHubConnection: nheko-reborn-pipeline
|
||||
repositoryName: '$(Build.Repository.Name)'
|
||||
|
|
Loading…
Reference in a new issue