Skip to content

Commit

Permalink
[Update]: Java versions and sbt installtion
Browse files Browse the repository at this point in the history
  • Loading branch information
yutaro-sakamoto committed Aug 28, 2024
1 parent 51d9d73 commit 6547254
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
java-version: 21

# Setup sbt
- name: Setup sbt
uses: olafurpg/setup-scala@v14
with:
java-version: [email protected]
run: |
curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && echo Y | ./cs setup
echo PATH="$PATH:/home/runner/.local/share/coursier/bin" >> "$GITHUB_ENV"
# Checkout
- name: Checkout Open-COBOL-ESQL-4j
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
java-version: 21

# Setup sbt
- name: Setup sbt
uses: olafurpg/setup-scala@v14
with:
java-version: [email protected]
run: |
curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && echo Y | ./cs setup
echo PATH="$PATH:/home/runner/.local/share/coursier/bin" >> "$GITHUB_ENV"
# Checkout opensource COBOL 4J
- name: Checkout opensourcecobol 4J
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ jobs:
dnf -y update
dnf install -y gcc make bison flex automake autoconf diffutils gettext
# Setup JDK
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 21

# Setup JDK
- name: Setup JDK
uses: actions/setup-java@v4
Expand Down

0 comments on commit 6547254

Please sign in to comment.