mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-19 13:46:03 +10:00
Correct GH token logic
This commit is contained in:
@@ -5,7 +5,7 @@ $VSCODIUM_ASSETS= $GITHUB_RESPONSE | jq '.assets'
|
|||||||
echo "VSCodium assets: ${VSCODIUM_ASSETS}"
|
echo "VSCodium assets: ${VSCODIUM_ASSETS}"
|
||||||
|
|
||||||
# if we just don't have the github token, get out fast
|
# 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 "This build does not have the GH token"
|
||||||
echo $env:MAPPED_GITHUB_TOKEN
|
echo $env:MAPPED_GITHUB_TOKEN
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user