Skip to content

Commit

Permalink
Update github action version to v4
Browse files Browse the repository at this point in the history
Cherry-pick of existing commit.
orig-pr: #18702
orig-commit: 9117e0c
orig-commit-author: Rico Chiu <[email protected]>

			pr-link: #18704
			change-id: cid-b4b1fb88de0b1a2cca107fe252f62b0fc6463fcb
  • Loading branch information
Xenorith authored Nov 11, 2024
1 parent c0cea82 commit e1f4443
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 30 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/checkstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Cache local Go modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -41,10 +41,10 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: artifact
name: artifact-${{ matrix.runs-on }}
path: |
**/target/artifacts/*
**/target/logs/*
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/fuse_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}

- name: Cache local Go modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -50,10 +50,10 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: artifact
name: artifact-${{ matrix.runs-on }}
path: |
**/target/surefire-reports/*
**/target/artifacts/*
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/java8_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-java8-${{ hashFiles('**/pom.xml') }}

- name: Cache local Go modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -63,10 +63,10 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: artifact
name: artifact-${{ matrix.runs-on }}
path: |
**/target/surefire-reports/*
**/target/artifacts/*
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/java8_integration_tests_ft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-java8-${{ hashFiles('**/pom.xml') }}

- name: Cache local Go modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -55,10 +55,10 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: artifact
name: artifact-${{ matrix.runs-on }}
path: |
**/target/surefire-reports/*
**/target/artifacts/*
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/java8_integration_tests_webui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-java8-${{ hashFiles('**/pom.xml') }}

- name: Cache local Go modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -51,10 +51,10 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: artifact
name: artifact-${{ matrix.runs-on }}
path: |
**/target/surefire-reports/*
**/target/artifacts/*
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/java8_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'

- name: Cache local Maven repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-java8-${{ hashFiles('**/pom.xml') }}

- name: Cache local Go modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }}
Expand All @@ -53,10 +53,10 @@ jobs:

- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: artifact
name: artifact-${{ matrix.runs-on }}
path: |
**/target/surefire-reports/*
**/target/artifacts/*
Expand Down

0 comments on commit e1f4443

Please sign in to comment.