Skip to content

Commit

Permalink
👷 add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxiaowei-com-cn committed Aug 8, 2024
1 parent 1633bbf commit 755114b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ jobs:
ls -lh $JAVA_HOME
mvn -v
- name: Cache modules
uses: actions/cache@v4
with:
path: |
~/.m2/repository
key: ${{ runner.os }}-${{ matrix.java }}

- name: Ubuntu Prerequisites
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get install build-essential zlib1g-dev
Expand Down

0 comments on commit 755114b

Please sign in to comment.