Skip to content

Commit

Permalink
Update checkout and setup-java github actions to v4 (#3055)
Browse files Browse the repository at this point in the history
* Update checkout and setup-java github actions to v4

* Specify temurin distribution
  • Loading branch information
Philippus authored May 5, 2024
1 parent 3a8692b commit 12a2713
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11

- name: Launch elastic docker
Expand All @@ -35,13 +36,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11

- name: Launch elastic docker
Expand All @@ -54,13 +56,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11

- name: Launch elastic docker
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11

- name: Launch elastic docker
Expand All @@ -32,13 +33,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11

- name: Launch elastic docker
Expand All @@ -52,13 +54,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11

- name: Launch elastic docker
Expand Down

0 comments on commit 12a2713

Please sign in to comment.