Skip to content

Commit

Permalink
cache fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stas-panasiuk committed Feb 12, 2024
1 parent b48b7e4 commit 3154a8a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@ jobs:
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
# FIXME once flink-stellar builds as expected, remove the following part: -pl flink-stellar -am
run: mvn -B -DskipTests=true package --file flink-cyber/pom.xml -pl flink-stellar -am
- name: Test with Maven
run: mvn -B test --file flink-cyber/pom.xml -pl flink-stellar -am

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
Expand Down

0 comments on commit 3154a8a

Please sign in to comment.