Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jan 22, 2025
1 parent ee8ab61 commit 88ad254
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,15 @@ jobs:
distribution: 'adopt'

- name: Cache Lucee files
if: always()
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: ~/work/_actions/lucee/script-runner/main/lucee-download-cache
key: lucee-downloads

- name: Cache Maven packages
if: always()
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: ~/.m2
path: ~/.m2/repository
key: lucee-script-runner-maven-cache

- name: Build and Install with Maven
Expand Down Expand Up @@ -103,6 +101,19 @@ jobs:
env:
testLabels: pdf
testAdditional: ${{ github.workspace }}/tests
- name: Cache Lucee files
if: always()
uses: actions/cache/save@v4
with:
path: ~/work/_actions/lucee/script-runner/main/lucee-download-cache
key: lucee-downloads

- name: Cache Maven packages
if: always()
uses: actions/cache/save@v4
with:
path: ~/.m2/repository
key: lucee-script-runner-maven-cache

deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 88ad254

Please sign in to comment.