Răsfoiți Sursa

ci(linux): add flag to disable appimage [skip ci]

Baptiste Augrain 10 luni în urmă
părinte
comite
41b1e88740

+ 2 - 1
.github/workflows/insider-macos.yml

@@ -42,7 +42,8 @@ jobs:
         include:
           - runner: macos-12
             vscode_arch: x64
-          - runner: macos-14
+          # - runner: macos-14
+          - runner: [self-hosted, macOS, ARM64]
             vscode_arch: arm64
 
     steps:

+ 2 - 1
.github/workflows/stable-linux.yml

@@ -179,8 +179,9 @@ jobs:
 
       - name: Check existing VSCodium tags/releases
         env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           CHECK_REH: 'no'
+          DISABLE_APPIMAGE: ${{ vars.DISABLE_APPIMAGE }}
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         run: ./check_tags.sh
         if: env.SHOULD_BUILD == 'yes'
 

+ 4 - 2
check_tags.sh

@@ -338,7 +338,7 @@ elif [[ "${ASSETS}" != "null" ]]; then
         export SHOULD_BUILD_DEB="no"
         export SHOULD_BUILD_RPM="no"
         export SHOULD_BUILD_APPIMAGE="no"
-      
+
         if [[ -z $( contains "${APP_NAME}-linux-riscv64-${RELEASE_VERSION}.tar.gz" ) ]]; then
           echo "Building on Linux RISC-V 64 because we have no TAR"
           export SHOULD_BUILD="yes"
@@ -381,7 +381,9 @@ elif [[ "${ASSETS}" != "null" ]]; then
           export SHOULD_BUILD_TAR="no"
         fi
 
-        if [[ -z $( contains "x86_64.AppImage" ) ]]; then
+        if [[ "${DISABLE_APPIMAGE}" == "yes" ]]; then
+          export SHOULD_BUILD_APPIMAGE="no"
+        elif [[ -z $( contains "x86_64.AppImage" ) ]]; then
           echo "Building on Linux x64 because we have no AppImage"
           export SHOULD_BUILD="yes"
         else