mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +03:00
Change variable format in bash
This commit is contained in:
parent
c1dc1e0f9d
commit
c8f32a07ff
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ steps:
|
||||||
#overWrite: false # Optional
|
#overWrite: false # Optional
|
||||||
#flattenFolders: false # Optional
|
#flattenFolders: false # Optional
|
||||||
# Create a variable for build success
|
# Create a variable for build success
|
||||||
- bash: ls ${BUILD.ARTIFACTSTAGINGDIRECTORY}
|
- bash: ls ${ARTIFACT_STAGING_DIRECTORY}
|
||||||
|
env:
|
||||||
|
ARTIFACT_STAGING_DIRECTORY: $(Build.ArtifactStagingDirectory))
|
||||||
- pwsh: if( (Get-ChildItem $(Build.ArtifactStagingDirectory) | Measure-Object).Count -eq 0) { echo '##vso[task.setvariable variable=buildSuccess]false' } else { echo '##vso[task.setvariable variable=buildSuccess]true' }
|
- pwsh: if( (Get-ChildItem $(Build.ArtifactStagingDirectory) | Measure-Object).Count -eq 0) { echo '##vso[task.setvariable variable=buildSuccess]false' } else { echo '##vso[task.setvariable variable=buildSuccess]true' }
|
||||||
# delete the release if it already exists to avoid an error
|
# delete the release if it already exists to avoid an error
|
||||||
- task: GitHubRelease@0
|
- task: GitHubRelease@0
|
||||||
|
|
Loading…
Reference in a new issue