Skip to content

Commit

Permalink
Update github action version to v4
Browse files Browse the repository at this point in the history
			pr-link: #18702
			change-id: cid-b4b1fb88de0b1a2cca107fe252f62b0fc6463fcb
  • Loading branch information
Xenorith authored Nov 6, 2024
1 parent 6d99656 commit 9117e0c
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 @@ -40,10 +40,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/java8_container_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,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-java11-${{ 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.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,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-java11-${{ 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 @@ -65,10 +65,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 @@ -26,21 +26,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-java11-${{ 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 @@ -60,10 +60,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 @@ -24,21 +24,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-java11-${{ 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 @@ -56,10 +56,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-java11-${{ 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 9117e0c

Please sign in to comment.