Correct GH token logic

This commit is contained in:
Peter Squicciarini
2018-12-22 17:09:36 -05:00
parent b5df7d5af8
commit 2564115929

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 -like "GITHUB_TOKEN") {
echo "This build does not have the GH token"
echo $env:MAPPED_GITHUB_TOKEN
return