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

This commit is contained in:
Baptiste Augrain
2024-08-12 15:55:04 +02:00
parent 9d70d6b0a2
commit 41b1e88740
3 changed files with 8 additions and 4 deletions

View File

@@ -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:

View File

@@ -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'

View File

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