Selaa lähdekoodia

ci(linux): fix env variables [skip ci]

Baptiste Augrain 1 vuosi sitten
vanhempi
sitoutus
f1d7201c3c
2 muutettua tiedostoa jossa 6 lisäystä ja 4 poistoa
  1. 4 4
      .github/workflows/insider-linux.yml
  2. 2 0
      package_linux_bin.sh

+ 4 - 4
.github/workflows/insider-linux.yml

@@ -33,8 +33,6 @@ env:
 jobs:
 jobs:
   check:
   check:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
-    container:
-      image: vscodium/vscodium-linux-build-agent:bionic-x64
     outputs:
     outputs:
       MS_COMMIT: ${{ env.MS_COMMIT }}
       MS_COMMIT: ${{ env.MS_COMMIT }}
       MS_TAG: ${{ env.MS_TAG }}
       MS_TAG: ${{ env.MS_TAG }}
@@ -43,7 +41,7 @@ jobs:
       SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }}
       SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }}
 
 
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           ref: ${{ env.GITHUB_BRANCH }}
           ref: ${{ env.GITHUB_BRANCH }}
 
 
@@ -70,7 +68,7 @@ jobs:
     if: needs.check.outputs.SHOULD_BUILD == 'yes' || needs.check.outputs.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true'
     if: needs.check.outputs.SHOULD_BUILD == 'yes' || needs.check.outputs.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true'
 
 
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           ref: ${{ env.GITHUB_BRANCH }}
           ref: ${{ env.GITHUB_BRANCH }}
 
 
@@ -109,6 +107,7 @@ jobs:
 
 
   build:
   build:
     needs:
     needs:
+      - check
       - compile
       - compile
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     strategy:
     strategy:
@@ -195,6 +194,7 @@ jobs:
 
 
   reh:
   reh:
     needs:
     needs:
+      - check
       - compile
       - compile
     runs-on: ubuntu-20.04
     runs-on: ubuntu-20.04
     strategy:
     strategy:

+ 2 - 0
package_linux_bin.sh

@@ -7,6 +7,8 @@ if [[ "${CI_BUILD}" == "no" ]]; then
   exit 1
   exit 1
 fi
 fi
 
 
+export VSCODE_SKIP_NODE_VERSION_CHECK=1
+
 tar -xzf ./vscode.tar.gz
 tar -xzf ./vscode.tar.gz
 
 
 cd vscode || { echo "'vscode' dir not found"; exit 1; }
 cd vscode || { echo "'vscode' dir not found"; exit 1; }