Skip to content

Commit

Permalink
fix: ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
qqxx6661 committed Jan 13, 2024
1 parent b082601 commit 6b504c1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,17 @@ jobs:
java-version: 8
distribution: zulu
- name: Cache mvn dependencies
working-directory: log-record-starter
uses: actions/cache@v3
env:
cache-name: mvn-deps
with:
path: ~/.m2
key: ${{ env.cache-name }}-${{ hashFiles('pom.xml') }}
key: ${{ env.cache-name }}-${{ hashFiles('./log-record-starter/pom.xml') }}
restore-keys: ${{ env.cache-name }}-
- name: Test with Maven
working-directory: log-record-starter
working-directory: ./log-record-starter
run: mvn -V --no-transfer-progress test
- name: Upload to Codecov
working-directory: log-record-starter
uses: codecov/codecov-action@v3
with:
file: ./target/site/jacoco/jacoco.xml
Expand Down

0 comments on commit 6b504c1

Please sign in to comment.