Skip to content

Commit

Permalink
ci: use native gh actions gradle cache
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezcasas committed Oct 16, 2022
1 parent 5c987ae commit 845e6a5
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,20 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-java@v3
with:
java-version: 17
distribution: adopt
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build the theme
cache: 'gradle'

- name: 🧱 Build the theme
run: make

0 comments on commit 845e6a5

Please sign in to comment.