From 19ba2b58a263d1e852eebfac357176c5883e601f Mon Sep 17 00:00:00 2001 From: AnkitCLI Date: Mon, 2 Dec 2024 12:07:11 +0530 Subject: [PATCH] upgrade github actions v3 to v4 --- .github/workflows/build.yml | 4 ++-- .github/workflows/e2e.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bbed1d03..4294c9a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,12 +37,12 @@ jobs: && (github.event.action != 'labeled' || github.event.label.name == 'build') ) steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.workflow_run.head_sha }} - name: Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 8cc611cf..7996710a 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -30,19 +30,19 @@ jobs: steps: # Pinned 1.0.0 version - uses: haya14busa/action-workflow_run-status@967ed83efa565c257675ed70cfe5231f062ddd94 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: plugin ref: ${{ github.event.workflow_run.head_sha }} - name: Checkout e2e test repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: cdapio/cdap-e2e-tests path: e2e - name: Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }} @@ -70,14 +70,14 @@ jobs: SALESFORCE_CONSUMER_SECRET: ${{ steps.secrets.outputs.SALESFORCE_CONSUMER_SECRET }} - name: Upload report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: Cucumber report path: ./plugin/target/cucumber-reports - name: Upload debug files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: Debug files