ci(linux): appimage only on x64 [skip ci]

This commit is contained in:
Baptiste Augrain 2024-02-19 19:18:18 +01:00
parent 12a0fa0cf6
commit a54f8f25f5
2 changed files with 7 additions and 3 deletions

View File

@ -90,8 +90,8 @@ jobs:
# with: # with:
# python-version: '3.11' # python-version: '3.11'
- name: Install libkrb5-dev # - name: Install libkrb5-dev
run: sudo apt-get install -y libkrb5-dev # run: sudo apt-get install -y libkrb5-dev
- name: Clone VSCode repo - name: Clone VSCode repo
run: ./get_repo.sh run: ./get_repo.sh
@ -137,7 +137,7 @@ jobs:
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes' if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
- name: Upload assets - name: Upload assets
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.vscode_arch }} name: ${{ matrix.vscode_arch }}
path: assets/ path: assets/

View File

@ -125,6 +125,10 @@ elif [[ "${OS_NAME}" == "windows" ]]; then
else else
cd vscode || { echo "'vscode' dir not found"; exit 1; } cd vscode || { echo "'vscode' dir not found"; exit 1; }
if [[ "${SHOULD_BUILD_APPIMAGE}" != "no" && "${VSCODE_ARCH}" != "x64" ]]; then
SHOULD_BUILD_APPIMAGE="no"
fi
if [[ "${SHOULD_BUILD_DEB}" != "no" || "${SHOULD_BUILD_APPIMAGE}" != "no" ]]; then if [[ "${SHOULD_BUILD_DEB}" != "no" || "${SHOULD_BUILD_APPIMAGE}" != "no" ]]; then
yarn gulp "vscode-linux-${VSCODE_ARCH}-build-deb" yarn gulp "vscode-linux-${VSCODE_ARCH}-build-deb"
fi fi