浏览代码

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.
pull/1430/head
Florian Zschocke 1年前
父节点
当前提交
41d550d135
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6
    4
      .github/workflows/ci-build.yml

+ 6
- 4
.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: |

正在加载...
取消
保存