Преглед изворни кода

fix(ci): update stable workflows

Baptiste Augrain пре 1 дан
родитељ
комит
962f1ac04c
2 измењених фајлова са 17 додато и 9 уклоњено
  1. 5 0
      .github/workflows/stable-linux.yml
  2. 12 9
      .github/workflows/stable-windows.yml

+ 5 - 0
.github/workflows/stable-linux.yml

@@ -426,6 +426,11 @@ jobs:
           version: 10
           version: 10
           platform: x64
           platform: x64
 
 
+      - name: Setup Node.js environment
+        uses: actions/setup-node@v6
+        with:
+          node-version-file: '.nvmrc'
+
       - name: Install GH
       - name: Install GH
         run: ./build/linux/install_gh.sh
         run: ./build/linux/install_gh.sh
         if: env.SHOULD_DEPLOY == 'yes'
         if: env.SHOULD_DEPLOY == 'yes'

+ 12 - 9
.github/workflows/stable-windows.yml

@@ -71,7 +71,10 @@ jobs:
   compile:
   compile:
     needs:
     needs:
       - check
       - check
-    runs-on: ubuntu-22.04
+    runs-on: windows-2022
+    defaults:
+      run:
+        shell: bash
     env:
     env:
       MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
       MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
       MS_TAG: ${{ needs.check.outputs.MS_TAG }}
       MS_TAG: ${{ needs.check.outputs.MS_TAG }}
@@ -92,11 +95,11 @@ jobs:
           PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }}
           PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }}
         run: ./get_pr.sh
         run: ./get_pr.sh
 
 
-      - name: Setup GCC
-        uses: egor-tensin/setup-gcc@v1
-        with:
-          version: 10
-          platform: x64
+      # - name: Setup GCC
+      #   uses: egor-tensin/setup-gcc@v1
+      #   with:
+      #     version: 10
+      #     platform: x64
 
 
       - name: Setup Node.js environment
       - name: Setup Node.js environment
         uses: actions/setup-node@v6
         uses: actions/setup-node@v6
@@ -110,9 +113,9 @@ jobs:
           python-version: '3.11'
           python-version: '3.11'
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
-      - name: Install libkrb5-dev
-        run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
-        if: env.SHOULD_BUILD == 'yes'
+      # - name: Install libkrb5-dev
+      #   run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
+      #   if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Clone VSCode repo
       - name: Clone VSCode repo
         run: ./get_repo.sh
         run: ./get_repo.sh