Skip to content

Commit

Permalink
Merge pull request #1194 from bmuschko/bm/gradle-cache
Browse files Browse the repository at this point in the history
Use Gradle cache in CI/CD workflow
  • Loading branch information
bmuschko authored Sep 20, 2023
2 parents 2410a16 + 9e9980c commit 1ee4778
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/linux-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
java-version: 17
cache: 'gradle'
- name: Set up Docker private registry
run: |
docker run -d -p 5000:5000 --restart=always --name registry registry:2
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ jobs:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
java-version: 17
cache: 'gradle'
- name: Compilation
uses: gradle/gradle-build-action@v2
with:
Expand Down

0 comments on commit 1ee4778

Please sign in to comment.