Skip to content

Commit

Permalink
Updates workflows to use Java 17, main also has scheduled run
Browse files Browse the repository at this point in the history
  • Loading branch information
joaobispo committed Jul 23, 2024
1 parent c7eaafa commit 33e38b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ant-lara-2.0-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
path: ~/.ivy2
key: ${{ runner.os }}-build-${{ env.cache-name }}

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
- name: Generate build.xml
run: |
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/ant-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
pull_request:
branches: [ master ]

# Weekly on Monday at midnight
schedule:
- cron: '0 0 * * 1'

permissions:
checks: write

Expand All @@ -31,10 +35,10 @@ jobs:
path: ~/.ivy2
key: ${{ runner.os }}-build-${{ env.cache-name }}

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
- name: Generate build.xml
run: |
Expand Down

0 comments on commit 33e38b0

Please sign in to comment.