2
0
Эх сурвалжийг харах

Merge pull request #70 from stripedpajamas/master

Correct GH token logic for Windows builds
Peter Squicciarini 6 жил өмнө
parent
commit
1b421c701c
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      check_tags.ps1

+ 1 - 1
check_tags.ps1

@@ -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 -or $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