From b99b8a6254e6830b7dcaf22942c9e607723ba73d Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Mon, 24 Oct 2022 21:27:03 +0200 Subject: [PATCH] ci: replace all ::set-output --- .github/workflows/insider-macos.yml | 8 ++++++-- .github/workflows/insider-spearhead.yml | 4 ++-- .github/workflows/insider-windows.yml | 8 ++++++-- .github/workflows/stable-linux.yml | 4 ++-- .github/workflows/stable-macos.yml | 4 ++-- .github/workflows/stable-windows.yml | 4 ++-- 6 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.github/workflows/insider-macos.yml b/.github/workflows/insider-macos.yml index 028c08a..4822435 100644 --- a/.github/workflows/insider-macos.yml +++ b/.github/workflows/insider-macos.yml @@ -6,6 +6,9 @@ on: release_version: type: string description: Forced release version + new_release: + type: boolean + description: Force new Release schedule: - cron: '0 8 * * *' push: @@ -57,17 +60,18 @@ jobs: - name: Check existing VSCodium tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NEW_RELEASE: ${{ github.event.inputs.new_release }} run: . check_tags.sh if: env.SHOULD_DEPLOY == 'yes' - name: Compute cache key 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' - name: Get yarn cache directory path id: yarnCacheDirPath - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT if: env.SHOULD_BUILD == 'yes' - name: Cache yarn directory diff --git a/.github/workflows/insider-spearhead.yml b/.github/workflows/insider-spearhead.yml index d53e84e..390e0b2 100644 --- a/.github/workflows/insider-spearhead.yml +++ b/.github/workflows/insider-spearhead.yml @@ -37,12 +37,12 @@ jobs: - name: Compute cache key 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' - name: Get yarn cache directory path id: yarnCacheDirPath - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT if: env.SHOULD_BUILD == 'yes' - name: Cache yarn directory diff --git a/.github/workflows/insider-windows.yml b/.github/workflows/insider-windows.yml index 0a8121d..5acbe15 100644 --- a/.github/workflows/insider-windows.yml +++ b/.github/workflows/insider-windows.yml @@ -6,6 +6,9 @@ on: release_version: type: string description: Forced release version + new_release: + type: boolean + description: Force new Release schedule: - cron: '0 8 * * *' push: @@ -70,17 +73,18 @@ jobs: - name: Check existing VSCodium tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NEW_RELEASE: ${{ github.event.inputs.new_release }} run: ./check_tags.sh if: env.SHOULD_DEPLOY == 'yes' - name: Compute cache key 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' - name: Get yarn cache directory path id: yarnCacheDirPath - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT if: env.SHOULD_BUILD == 'yes' - name: Cache yarn directory diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index 122801f..9097d20 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -75,12 +75,12 @@ jobs: - name: Compute cache key 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' - name: Get yarn cache directory path id: yarnCacheDirPath - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT if: env.SHOULD_BUILD == 'yes' - name: Cache yarn directory diff --git a/.github/workflows/stable-macos.yml b/.github/workflows/stable-macos.yml index 8d91276..a02de2e 100644 --- a/.github/workflows/stable-macos.yml +++ b/.github/workflows/stable-macos.yml @@ -59,12 +59,12 @@ jobs: - name: Compute cache key 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' - name: Get yarn cache directory path id: yarnCacheDirPath - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT if: env.SHOULD_BUILD == 'yes' - name: Cache yarn directory diff --git a/.github/workflows/stable-windows.yml b/.github/workflows/stable-windows.yml index 9028220..e556fc9 100644 --- a/.github/workflows/stable-windows.yml +++ b/.github/workflows/stable-windows.yml @@ -72,12 +72,12 @@ jobs: - name: Compute cache key 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' - name: Get yarn cache directory path id: yarnCacheDirPath - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT if: env.SHOULD_BUILD == 'yes' - name: Cache yarn directory