Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nkonev committed Nov 24, 2024
1 parent a64f554 commit 300f51d
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,16 @@ jobs:
# test against latest update of each major Java version, as well as specific updates of LTS versions:
java: [ 17.0.4 ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: liberica
cache: 'maven'
cache-dependency-path: 'pom.xml'
java-version: ${{ matrix.java }}
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
- name: Test with Maven
run: |
pwd
ls -lah
./mvnw clean package
rm -rf ~/.m2/repository/name/nkonev/r2dbc-migrate
./mvnw clean test

0 comments on commit 300f51d

Please sign in to comment.