From 41d550d135d186dd97343467f280b8bfb1a6fa61 Mon Sep 17 00:00:00 2001 From: Florian Zschocke Date: Wed, 26 Oct 2022 18:03:40 +0200 Subject: [PATCH] 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. --- .github/workflows/ci-build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 2bbd2af5..eab73378 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -20,14 +20,15 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v3 with: submodules: true - name: Setup Java ${{ matrix.java-version }} - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: ${{ matrix.java-version }} + distribution: 'temurin' - name: Setup Moxie run: | @@ -53,14 +54,15 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v3 with: submodules: true - name: Setup Java ${{ matrix.java-version }} - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: ${{ matrix.java-version }} + distribution: 'temurin' - name: Report Java version run: | -- 2.39.5