Skip to content

Commit 845e6a5

Browse files
committed
ci: use native gh actions gradle cache
1 parent 5c987ae commit 845e6a5

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

Diff for: .github/workflows/ci.yml

+5-10
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,20 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14+
1415
- uses: actions/setup-java@v3
1516
with:
1617
java-version: 17
1718
distribution: adopt
18-
- uses: actions/cache@v2
19-
with:
20-
path: |
21-
~/.gradle/caches
22-
~/.gradle/wrapper
23-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
24-
restore-keys: |
25-
${{ runner.os }}-gradle-
26-
- name: Build the theme
19+
cache: 'gradle'
20+
21+
- name: 🧱 Build the theme
2722
run: make

0 commit comments

Comments
 (0)