Updated actions to use v4
Change-Id: I2b246004d356be5dd7a7e4cc3b9bf77c3fdfcfbf
Reviewed-on: https://korap.ids-mannheim.de/gerrit/c/KorAP/Koral/+/8003
Reviewed-by: Nils Diewald <nils@diewald-online.de>
Reviewed-by: margaretha <margaretha@ids-mannheim.de>
diff --git a/.github/workflows/linux_ci.yml b/.github/workflows/linux_ci.yml
index 7ad48e3..a2fab57 100644
--- a/.github/workflows/linux_ci.yml
+++ b/.github/workflows/linux_ci.yml
@@ -7,10 +7,11 @@
runs-on: ubuntu-latest
steps:
- name: Checkout Koral
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: Set up JDK 11
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v4
with:
+ distribution: 'temurin'
java-version: 11
- name: Build and install Koral
diff --git a/.github/workflows/windows_ci.yml b/.github/workflows/windows_ci.yml
index 2409e1f..b39de98 100644
--- a/.github/workflows/windows_ci.yml
+++ b/.github/workflows/windows_ci.yml
@@ -11,10 +11,11 @@
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout Koral
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: Set up JDK 11
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v4
with:
+ distribution: 'temurin'
java-version: 11
- name: Build and install Koral