Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ntqdinh-axonivy committed Dec 24, 2024
1 parent 8568670 commit 8ab69ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:
required: false
javaVersion:
type: number
default: 17
default: 21
mvnVersion:
type: string
default: 3.6.3
default: 3.9.8
schedule:
- cron: '21 21 * * *'

Expand All @@ -27,7 +27,7 @@ jobs:
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
java-version: ${{ inputs.javaVersion || '17' }}
java-version: ${{ inputs.javaVersion || '21' }}
distribution: temurin

- name: Install and start SFTP
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Setup Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: ${{ inputs.mvnVersion || '3.6.3' }}
maven-version: ${{ inputs.mvnVersion || '3.9.8' }}

- name: Build with Maven
run: mvn clean verify --batch-mode --fail-at-end ${{ inputs.mvnArgs }}
Expand Down

0 comments on commit 8ab69ff

Please sign in to comment.