diff --git a/.github/workflows/lint-commit-message-post.yml b/.github/workflows/lint-commit-message-post.yml index 940010816f..2e5cef0b96 100644 --- a/.github/workflows/lint-commit-message-post.yml +++ b/.github/workflows/lint-commit-message-post.yml @@ -30,10 +30,10 @@ jobs: - name: Assert result id: assert - run: echo "::set-output name=succeeded::$(> $GITHUB_OUTPUT - name: Get PR number id: pr - run: echo "::set-output name=pr::$(> $GITHUB_OUTPUT on-success: runs-on: ubuntu-latest diff --git a/.github/workflows/lint-commit-message.yml b/.github/workflows/lint-commit-message.yml index f110c7f359..dde7c0338b 100644 --- a/.github/workflows/lint-commit-message.yml +++ b/.github/workflows/lint-commit-message.yml @@ -27,7 +27,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache @@ -42,7 +42,7 @@ jobs: - name: Lint commit id: lint_commit - run: pnpm lint:commit || echo "::set-output name=failed::true" + run: pnpm lint:commit || echo "failed=true" >> $GITHUB_OUTPUT - name: Set success result if: ${{ steps.lint_commit.outputs.failed != 'true' }} diff --git a/.github/workflows/pr-docs-build.yml b/.github/workflows/pr-docs-build.yml index cbe97ee31b..eebf366832 100644 --- a/.github/workflows/pr-docs-build.yml +++ b/.github/workflows/pr-docs-build.yml @@ -41,7 +41,8 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT + echo "pnpm_cache_dir=$(pnpm store path)" >> $env:GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache diff --git a/.github/workflows/pr-docs-deploy.yml b/.github/workflows/pr-docs-deploy.yml index ffe5108e90..1a03ebf8b4 100644 --- a/.github/workflows/pr-docs-deploy.yml +++ b/.github/workflows/pr-docs-deploy.yml @@ -22,7 +22,7 @@ jobs: - name: Output pr number id: pr - run: echo "::set-output name=id::$(> $GITHUB_OUTPUT - name: Download artifact uses: dawidd6/action-download-artifact@v2 @@ -89,7 +89,7 @@ jobs: - name: Output pr number id: pr - run: echo "::set-output name=id::$(> $GITHUB_OUTPUT - name: Deploy has failed uses: actions-cool/maintain-one-comment@v3.0.0 diff --git a/.github/workflows/publish-build-product.yml b/.github/workflows/publish-build-product.yml index cb2b85e25b..18d99d641a 100644 --- a/.github/workflows/publish-build-product.yml +++ b/.github/workflows/publish-build-product.yml @@ -30,7 +30,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache diff --git a/.github/workflows/publish-docs-deploy-manual.yml b/.github/workflows/publish-docs-deploy-manual.yml index adb86beb88..f6e710a87f 100644 --- a/.github/workflows/publish-docs-deploy-manual.yml +++ b/.github/workflows/publish-docs-deploy-manual.yml @@ -21,7 +21,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache diff --git a/.github/workflows/publish-docs-deploy.yml b/.github/workflows/publish-docs-deploy.yml index bd5ff32478..ef91692ef8 100644 --- a/.github/workflows/publish-docs-deploy.yml +++ b/.github/workflows/publish-docs-deploy.yml @@ -28,7 +28,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache diff --git a/.github/workflows/publish-npm-nightly.yml b/.github/workflows/publish-npm-nightly.yml index ceb7335815..de2838af28 100644 --- a/.github/workflows/publish-npm-nightly.yml +++ b/.github/workflows/publish-npm-nightly.yml @@ -27,7 +27,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache @@ -63,7 +63,7 @@ jobs: - name: Get current date id: date - run: echo "::set-output name=date::$(date +'%Y%m%d')" + run: echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT - name: Get git head run: echo "GIT_HEAD=${GITHUB_SHA}" >> $GITHUB_ENV diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 4d2200904f..1db730a9eb 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -27,7 +27,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache diff --git a/.github/workflows/publish-size-report.yml b/.github/workflows/publish-size-report.yml index 31c1658606..0002284ffe 100644 --- a/.github/workflows/publish-size-report.yml +++ b/.github/workflows/publish-size-report.yml @@ -27,7 +27,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache diff --git a/.github/workflows/staging-docs.yml b/.github/workflows/staging-docs.yml index 89d803c298..065276dd78 100644 --- a/.github/workflows/staging-docs.yml +++ b/.github/workflows/staging-docs.yml @@ -30,7 +30,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index 9b9fd7aa44..a79977e770 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -31,7 +31,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache diff --git a/.github/workflows/test-ssr.yml b/.github/workflows/test-ssr.yml index c56e9b8ec1..92682bb0b2 100644 --- a/.github/workflows/test-ssr.yml +++ b/.github/workflows/test-ssr.yml @@ -28,7 +28,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 10a25af13b..b8ace9720f 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -30,7 +30,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache @@ -76,7 +76,7 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache