mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 03:50:13 +10:00
ci(linux): check only concerned archives [skip ci]
This commit is contained in:
2
.github/workflows/insider-linux.yml
vendored
2
.github/workflows/insider-linux.yml
vendored
@@ -153,6 +153,7 @@ jobs:
|
|||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
CHECK_REH: 'no'
|
||||||
run: ./check_tags.sh
|
run: ./check_tags.sh
|
||||||
|
|
||||||
- name: Download vscode artifact
|
- name: Download vscode artifact
|
||||||
@@ -231,6 +232,7 @@ jobs:
|
|||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
CHECK_ONLY_REH: 'yes'
|
||||||
run: ./check_tags.sh
|
run: ./check_tags.sh
|
||||||
|
|
||||||
- name: Download vscode artifact
|
- name: Download vscode artifact
|
||||||
|
|||||||
@@ -209,8 +209,17 @@ if [[ "${ASSETS}" != "null" ]]; then
|
|||||||
fi
|
fi
|
||||||
elif [[ "${OS_NAME}" == "linux" ]]; then
|
elif [[ "${OS_NAME}" == "linux" ]]; then
|
||||||
|
|
||||||
|
if [[ "${CHECK_ONLY_REH}" == "yes" ]]; then
|
||||||
|
if [[ -z $( contains "${APP_NAME_LC}-reh-linux-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
|
echo "Building on Linux ${VSCODE_ARCH} because we have no REH archive"
|
||||||
|
export SHOULD_BUILD="yes"
|
||||||
|
else
|
||||||
|
echo "Already have the Linux REH ${VSCODE_ARCH} archive"
|
||||||
|
export SHOULD_BUILD_REH="no"
|
||||||
|
fi
|
||||||
|
|
||||||
# linux-arm64
|
# linux-arm64
|
||||||
if [[ "${VSCODE_ARCH}" == "arm64" ]]; then
|
elif [[ "${VSCODE_ARCH}" == "arm64" ]]; then
|
||||||
if [[ -z $( contains "arm64.deb" ) ]]; then
|
if [[ -z $( contains "arm64.deb" ) ]]; then
|
||||||
echo "Building on Linux arm64 because we have no DEB"
|
echo "Building on Linux arm64 because we have no DEB"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
@@ -232,7 +241,7 @@ if [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_TAR="no"
|
export SHOULD_BUILD_TAR="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $( contains "${APP_NAME_LC}-reh-linux-arm64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
if [[ "${CHECK_REH}" != "no" && -z $( contains "${APP_NAME_LC}-reh-linux-arm64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
echo "Building on Linux arm64 because we have no REH archive"
|
echo "Building on Linux arm64 because we have no REH archive"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
else
|
else
|
||||||
@@ -268,7 +277,7 @@ if [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_TAR="no"
|
export SHOULD_BUILD_TAR="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $( contains "${APP_NAME_LC}-reh-linux-armhf-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
if [[ "${CHECK_REH}" != "no" && -z $( contains "${APP_NAME_LC}-reh-linux-armhf-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
echo "Building on Linux arm because we have no REH archive"
|
echo "Building on Linux arm because we have no REH archive"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
else
|
else
|
||||||
@@ -329,7 +338,7 @@ if [[ "${ASSETS}" != "null" ]]; then
|
|||||||
export SHOULD_BUILD_APPIMAGE="no"
|
export SHOULD_BUILD_APPIMAGE="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $( contains "${APP_NAME_LC}-reh-linux-x64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
if [[ "${CHECK_REH}" != "no" && -z $( contains "${APP_NAME_LC}-reh-linux-x64-${RELEASE_VERSION}.tar.gz" ) ]]; then
|
||||||
echo "Building on Linux x64 because we have no REH archive"
|
echo "Building on Linux x64 because we have no REH archive"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user