Merge pull request #70 from stripedpajamas/master

Correct GH token logic for Windows builds
This commit is contained in:
Peter Squicciarini
2018-12-22 17:16:29 -05:00
committed by GitHub

View File

@@ -5,7 +5,7 @@ $VSCODIUM_ASSETS= $GITHUB_RESPONSE | jq '.assets'
echo "VSCodium assets: ${VSCODIUM_ASSETS}"
# if we just don't have the github token, get out fast
if (!$env:MAPPED_GITHUB_TOKEN.length -le 15) {
if (!$env:MAPPED_GITHUB_TOKEN -or $env:MAPPED_GITHUB_TOKEN -like "*GITHUB_TOKEN*") {
echo "This build does not have the GH token"
echo $env:MAPPED_GITHUB_TOKEN
return