Skip to content

Commit 41d550d

Browse files
committed
ci: Update action versions in push build workflow
The workflow runs started issuing warnings because NodeJS 12 was deprecated. Actions need to get updated to newer versions that use NodeJS 16. This commit updates the `actions/checkout` and the `actions/setup-java` actions to the latest version in the workflow that builds on every push. The new setup-java action requires the distribution to be specified, since multiple JDK distributions are supported now. We chose Eclipse's Temurin here which is the successor to AdoptOpenJDK, which we use for development.
1 parent 72bcabf commit 41d550d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci-build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v1
23+
uses: actions/checkout@v3
2424
with:
2525
submodules: true
2626

2727
- name: Setup Java ${{ matrix.java-version }}
28-
uses: actions/setup-java@v1
28+
uses: actions/setup-java@v3
2929
with:
3030
java-version: ${{ matrix.java-version }}
31+
distribution: 'temurin'
3132

3233
- name: Setup Moxie
3334
run: |
@@ -53,14 +54,15 @@ jobs:
5354

5455
steps:
5556
- name: Checkout
56-
uses: actions/checkout@v1
57+
uses: actions/checkout@v3
5758
with:
5859
submodules: true
5960

6061
- name: Setup Java ${{ matrix.java-version }}
61-
uses: actions/setup-java@v1
62+
uses: actions/setup-java@v3
6263
with:
6364
java-version: ${{ matrix.java-version }}
65+
distribution: 'temurin'
6466

6567
- name: Report Java version
6668
run: |

0 commit comments

Comments
 (0)