Skip to content

Commit

Permalink
ci(linux): add flag to disable appimage [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Aug 12, 2024
1 parent 9d70d6b commit 41b1e88
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/insider-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/stable-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
6 changes: 4 additions & 2 deletions check_tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 41b1e88

Please sign in to comment.