Quellcode durchsuchen

ci: use directly boolean input (#1207)

Baptiste Augrain vor 2 Jahren
Ursprung
Commit
bbddc94a72
4 geänderte Dateien mit 4 neuen und 13 gelöschten Zeilen
  1. 1 4
      .github/workflows/linux.yml
  2. 1 4
      .github/workflows/macos.yml
  3. 1 4
      .github/workflows/windows.yml
  4. 1 1
      check_tags.sh

+ 1 - 4
.github/workflows/linux.yml

@@ -4,11 +4,8 @@ on:
   workflow_dispatch:
     inputs:
       new_release:
-        type: choice
+        type: boolean
         description: Force new Release
-        options:
-        - no
-        - yes
   schedule:
     - cron: '0 0 * * *'
   push:

+ 1 - 4
.github/workflows/macos.yml

@@ -4,11 +4,8 @@ on:
   workflow_dispatch:
     inputs:
       new_release:
-        type: choice
+        type: boolean
         description: Force new Release
-        options:
-        - no
-        - yes
   schedule:
     - cron: '0 0 * * *'
   push:

+ 1 - 4
.github/workflows/windows.yml

@@ -4,11 +4,8 @@ on:
   workflow_dispatch:
     inputs:
       new_release:
-        type: choice
+        type: boolean
         description: Force new Release
-        options:
-        - no
-        - yes
   schedule:
     - cron: '0 0 * * *'
   push:

+ 1 - 1
check_tags.sh

@@ -19,7 +19,7 @@ if [[ "${LATEST_VERSION}" =~ ^([0-9]+\.[0-9]+\.[0-9]+) ]]; then
     export SHOULD_BUILD="yes"
 
     VSCODIUM_ASSETS="null"
-  elif [[ "${NEW_RELEASE}" == "yes" ]]; then
+  elif [[ "${NEW_RELEASE}" == "true" ]]; then
     echo "New release build"
     export SHOULD_BUILD="yes"