ソースを参照

ci(linux): determine correct version [skip ci]

Baptiste Augrain 1 年間 前
コミット
d87569085d
2 ファイル変更7 行追加1 行削除
  1. 6 0
      .github/workflows/insider-linux.yml
  2. 1 1
      check_tags.sh

+ 6 - 0
.github/workflows/insider-linux.yml

@@ -91,6 +91,12 @@ jobs:
       - name: Clone VSCode repo
         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
         run: ./build.sh
 

+ 1 - 1
check_tags.sh

@@ -47,7 +47,7 @@ contains() {
   echo "${ASSETS}" | grep "${1}\""
 }
 
-if [[ "${ASSETS}" != "null" ]]; then
+if [[ "${ASSETS}" != "null" && "${CHECK_ASSETS}" != "no" ]]; 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
       echo "Building because we have no SRC"