Sfoglia il codice sorgente

ci: replace all ::set-output

Baptiste Augrain 2 anni fa
parent
commit
b99b8a6254

+ 6 - 2
.github/workflows/insider-macos.yml

@@ -6,6 +6,9 @@ on:
       release_version:
       release_version:
         type: string
         type: string
         description: Forced release version
         description: Forced release version
+      new_release:
+        type: boolean
+        description: Force new Release
   schedule:
   schedule:
     - cron: '0 8 * * *'
     - cron: '0 8 * * *'
   push:
   push:
@@ -57,17 +60,18 @@ 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 }}
+          NEW_RELEASE: ${{ github.event.inputs.new_release }}
         run: . check_tags.sh
         run: . check_tags.sh
         if: env.SHOULD_DEPLOY == 'yes'
         if: env.SHOULD_DEPLOY == 'yes'
 
 
       - name: Compute cache key
       - name: Compute cache key
         id: yarnCacheKey
         id: yarnCacheKey
-        run: echo "::set-output name=value::$(node build/azure-pipelines/computeYarnCacheKey.js)"
+        run: echo "value=$(node build/azure-pipelines/computeYarnCacheKey.js)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Get yarn cache directory path
       - name: Get yarn cache directory path
         id: yarnCacheDirPath
         id: yarnCacheDirPath
-        run: echo "::set-output name=dir::$(yarn cache dir)"
+        run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Cache yarn directory
       - name: Cache yarn directory

+ 2 - 2
.github/workflows/insider-spearhead.yml

@@ -37,12 +37,12 @@ jobs:
 
 
       - name: Compute cache key
       - name: Compute cache key
         id: yarnCacheKey
         id: yarnCacheKey
-        run: echo "::set-output name=value::$(node build/azure-pipelines/computeYarnCacheKey.js)"
+        run: echo "value=$(node build/azure-pipelines/computeYarnCacheKey.js)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Get yarn cache directory path
       - name: Get yarn cache directory path
         id: yarnCacheDirPath
         id: yarnCacheDirPath
-        run: echo "::set-output name=dir::$(yarn cache dir)"
+        run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Cache yarn directory
       - name: Cache yarn directory

+ 6 - 2
.github/workflows/insider-windows.yml

@@ -6,6 +6,9 @@ on:
       release_version:
       release_version:
         type: string
         type: string
         description: Forced release version
         description: Forced release version
+      new_release:
+        type: boolean
+        description: Force new Release
   schedule:
   schedule:
     - cron: '0 8 * * *'
     - cron: '0 8 * * *'
   push:
   push:
@@ -70,17 +73,18 @@ 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 }}
+          NEW_RELEASE: ${{ github.event.inputs.new_release }}
         run: ./check_tags.sh
         run: ./check_tags.sh
         if: env.SHOULD_DEPLOY == 'yes'
         if: env.SHOULD_DEPLOY == 'yes'
 
 
       - name: Compute cache key
       - name: Compute cache key
         id: yarnCacheKey
         id: yarnCacheKey
-        run: echo "::set-output name=value::$(node build/azure-pipelines/computeYarnCacheKey.js)"
+        run: echo "value=$(node build/azure-pipelines/computeYarnCacheKey.js)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Get yarn cache directory path
       - name: Get yarn cache directory path
         id: yarnCacheDirPath
         id: yarnCacheDirPath
-        run: echo "::set-output name=dir::$(yarn cache dir)"
+        run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Cache yarn directory
       - name: Cache yarn directory

+ 2 - 2
.github/workflows/stable-linux.yml

@@ -75,12 +75,12 @@ jobs:
 
 
       - name: Compute cache key
       - name: Compute cache key
         id: yarnCacheKey
         id: yarnCacheKey
-        run: echo "::set-output name=value::$(node build/azure-pipelines/computeYarnCacheKey.js)"
+        run: echo "value=$(node build/azure-pipelines/computeYarnCacheKey.js)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Get yarn cache directory path
       - name: Get yarn cache directory path
         id: yarnCacheDirPath
         id: yarnCacheDirPath
-        run: echo "::set-output name=dir::$(yarn cache dir)"
+        run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Cache yarn directory
       - name: Cache yarn directory

+ 2 - 2
.github/workflows/stable-macos.yml

@@ -59,12 +59,12 @@ jobs:
 
 
       - name: Compute cache key
       - name: Compute cache key
         id: yarnCacheKey
         id: yarnCacheKey
-        run: echo "::set-output name=value::$(node build/azure-pipelines/computeYarnCacheKey.js)"
+        run: echo "value=$(node build/azure-pipelines/computeYarnCacheKey.js)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Get yarn cache directory path
       - name: Get yarn cache directory path
         id: yarnCacheDirPath
         id: yarnCacheDirPath
-        run: echo "::set-output name=dir::$(yarn cache dir)"
+        run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Cache yarn directory
       - name: Cache yarn directory

+ 2 - 2
.github/workflows/stable-windows.yml

@@ -72,12 +72,12 @@ jobs:
 
 
       - name: Compute cache key
       - name: Compute cache key
         id: yarnCacheKey
         id: yarnCacheKey
-        run: echo "::set-output name=value::$(node build/azure-pipelines/computeYarnCacheKey.js)"
+        run: echo "value=$(node build/azure-pipelines/computeYarnCacheKey.js)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Get yarn cache directory path
       - name: Get yarn cache directory path
         id: yarnCacheDirPath
         id: yarnCacheDirPath
-        run: echo "::set-output name=dir::$(yarn cache dir)"
+        run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
         if: env.SHOULD_BUILD == 'yes'
         if: env.SHOULD_BUILD == 'yes'
 
 
       - name: Cache yarn directory
       - name: Cache yarn directory