ci(linux): determine correct version [skip ci]
This commit is contained in:
parent
2fff1a6f83
commit
d87569085d
2 changed files with 7 additions and 1 deletions
6
.github/workflows/insider-linux.yml
vendored
6
.github/workflows/insider-linux.yml
vendored
|
@ -91,6 +91,12 @@ jobs:
|
||||||
- name: Clone VSCode repo
|
- name: Clone VSCode repo
|
||||||
run: ./get_repo.sh
|
run: ./get_repo.sh
|
||||||
|
|
||||||
|
- name: Check existing VSCodium tags/releases
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
CHECK_ASSETS: 'no'
|
||||||
|
run: ./check_tags.sh
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./build.sh
|
run: ./build.sh
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ contains() {
|
||||||
echo "${ASSETS}" | grep "${1}\""
|
echo "${ASSETS}" | grep "${1}\""
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ "${ASSETS}" != "null" ]]; then
|
if [[ "${ASSETS}" != "null" && "${CHECK_ASSETS}" != "no" ]]; then
|
||||||
if [[ "${IS_SPEARHEAD}" == "yes" ]]; then
|
if [[ "${IS_SPEARHEAD}" == "yes" ]]; then
|
||||||
if [[ -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.tar.gz" ) || -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.zip" ) ]]; then
|
if [[ -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.tar.gz" ) || -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.zip" ) ]]; then
|
||||||
echo "Building because we have no SRC"
|
echo "Building because we have no SRC"
|
||||||
|
|
Loading…
Reference in a new issue