Skip to content

Commit

Permalink
Update workflows to use newer actions versions
Browse files Browse the repository at this point in the history
(merge main -> ce/main 112332)

[git-p4: depot-paths = "//dev/coherence-ce/main/": change = 112333]
  • Loading branch information
thegridman committed Nov 8, 2024
1 parent 6c721ca commit 048772e
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK
uses: oracle-actions/setup-java@v1
Expand All @@ -45,7 +45,7 @@ jobs:
run: mvn -version

- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -67,31 +67,31 @@ jobs:
# Upload build artifacts for diagnosing failures
- name: Build Artifacts test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-output
path: prj/examples/**/target/test-output/**/*
if-no-files-found: ignore

- name: Build Artifacts test reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: failsafe-surefire-test-reports
path: prj/examples/**/target/*-reports/**/*
if-no-files-found: ignore

- name: Build Artifacts core dumps
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: core-dumps
path: prj/examples/**/core.*
if-no-files-found: ignore

- name: Build Artifacts compiler replays
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: compiler-replay-logs
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- stage13
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK
uses: oracle-actions/setup-java@v1
Expand All @@ -60,7 +60,7 @@ jobs:
run: mvn -version

- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -82,31 +82,31 @@ jobs:
# Upload build artifacts for diagnosing failures
- name: Build Artifacts test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-output-${{ matrix.stage }}
path: prj/**/target/test-output/**/*
if-no-files-found: ignore

- name: Build Artifacts test reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: failsafe-surefire-test-reports-${{ matrix.stage }}
path: prj/**/target/*-reports/**/*
if-no-files-found: ignore

- name: Build Artifacts core dumps
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: core-dumps-${{ matrix.stage }}
path: prj/**/core.*
if-no-files-found: ignore

- name: Build Artifacts compiler replays
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: compiler-replay-logs-${{ matrix.stage }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

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

- name: Set up JDK
uses: oracle-actions/setup-java@v1
Expand All @@ -61,7 +61,7 @@ jobs:
run: mvn -version

- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -83,31 +83,31 @@ jobs:
# Upload build artifacts for diagnosing failures
- name: Build Artifacts test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-output-${{ matrix.stage }}
path: prj/**/target/test-output/**/*
if-no-files-found: ignore

- name: Build Artifacts test reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: failsafe-surefire-test-reports-${{ matrix.stage }}
path: prj/**/target/*-reports/**/*
if-no-files-found: ignore

- name: Build Artifacts core dumps
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: core-dumps-${{ matrix.stage }}
path: prj/**/core.*
if-no-files-found: ignore

- name: Build Artifacts compiler replays
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: compiler-replay-logs-${{ matrix.stage }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-snapshots-java11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -39,7 +39,7 @@ jobs:
java-version: '11'

- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-snapshots-java17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -39,7 +39,7 @@ jobs:
release: 17

- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-snapshots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -39,7 +39,7 @@ jobs:
release: 21

- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
Expand Down

0 comments on commit 048772e

Please sign in to comment.