Skip to content

Commit

Permalink
Update GitHub Actions to use Java 11 (#1940)
Browse files Browse the repository at this point in the history
update GitHub Actions to use Java 11
  • Loading branch information
bartekpacia authored Aug 23, 2024
1 parent ce3b979 commit e887852
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
if: github.repository == 'mobile-dev-inc/maestro'

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Clone repository
uses: actions/checkout@v4

- name: Install JDK
uses: actions/setup-java@v3
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 8
distribution: zulu
java-version: 11

- uses: gradle/gradle-build-action@v2

Expand All @@ -27,4 +27,4 @@ jobs:

- name: Print jReleaser log
if: always()
run: cat maestro-cli/build/jreleaser/trace.log
run: cat maestro-cli/build/jreleaser/trace.log
12 changes: 6 additions & 6 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
if: github.repository == 'mobile-dev-inc/maestro'

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Clone repository
uses: actions/checkout@v4

- name: Install JDK 8
uses: actions/setup-java@v3
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 8
distribution: zulu
java-version: 11

- uses: gradle/gradle-build-action@v2

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
if: github.repository == 'mobile-dev-inc/maestro'

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Clone repository
uses: actions/checkout@v4

- name: Install JDK 8
uses: actions/setup-java@v3
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 8
distribution: zulu
java-version: 11

- uses: gradle/gradle-build-action@v2

Expand Down

0 comments on commit e887852

Please sign in to comment.