From 0fd7e44a0a6106424f092849dc21f31ba762c281 Mon Sep 17 00:00:00 2001 From: Xavi Lee Date: Thu, 12 Sep 2024 16:06:16 +0800 Subject: [PATCH] chore(actions): upgrade deps --- .github/workflows/analyze.yml | 18 +++++++++--------- .github/workflows/analyze_comment.yml | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index e69316e2e2..2b65c9bf0f 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -11,13 +11,13 @@ jobs: event_type: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Save Event Type run: echo ${{ github.event_name }} > ./event_type - name: Upload Event Type - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: path: ./event_type name: event_type @@ -25,7 +25,7 @@ jobs: analyze: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up node uses: actions/setup-node@v1 @@ -36,7 +36,7 @@ jobs: uses: bahmutov/npm-install@v1.7.10 - name: Restore next build - uses: actions/cache@v2 + uses: actions/cache@v3 id: restore-build-cache env: cache-name: cache-next-build @@ -55,13 +55,13 @@ jobs: run: npx -p nextjs-bundle-analysis@0.5.0 report - name: Upload bundle - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: path: .next/analyze/__bundle_analysis.json name: bundle_analysis.json - name: Download base branch bundle stats - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 if: success() with: workflow: analyze.yml @@ -87,7 +87,7 @@ jobs: run: ls -laR .next/analyze/base && npx -p nextjs-bundle-analysis compare - name: Upload analysis comment - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: analysis_comment.txt path: .next/analyze/__bundle_analysis_comment.txt @@ -97,13 +97,13 @@ jobs: needs: analyze if: github.event_name == 'pull_request' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Save PR number run: echo ${{ github.event.number }} > ./pr_number - name: Upload PR number - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: pr_number path: ./pr_number diff --git a/.github/workflows/analyze_comment.yml b/.github/workflows/analyze_comment.yml index 1d5dac66b7..4d514d46b6 100644 --- a/.github/workflows/analyze_comment.yml +++ b/.github/workflows/analyze_comment.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Event Type - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: workflow: analyze.yml run_id: ${{ github.event.workflow_run.id }} @@ -26,7 +26,7 @@ jobs: - name: Download base branch bundle stats if: github.event.workflow_run.conclusion == 'success' && steps.get-type.outputs.event-type == 'pull_request' - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: workflow: analyze.yml run_id: ${{ github.event.workflow_run.id }} @@ -35,7 +35,7 @@ jobs: - name: Download PR number if: github.event.workflow_run.conclusion == 'success' && steps.get-type.outputs.event-type == 'pull_request' - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: workflow: analyze.yml run_id: ${{ github.event.workflow_run.id }}