Recorrect GH token logic

This commit is contained in:
Peter Squicciarini 2018-12-22 17:10:55 -05:00
parent 2564115929
commit 1633faf377
No known key found for this signature in database
GPG key ID: EB67E153FD9B5F44

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