Skip to content

Commit

Permalink
run cache action *after* checkout, otherwise we can't hash the binari…
Browse files Browse the repository at this point in the history
…es-lists.
  • Loading branch information
mbien committed Oct 29, 2022
1 parent e60f76c commit e5cf06f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,19 @@ jobs:
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'

- name: Checkout ${{ github.ref }} ( ${{ github.sha }} )
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: false

- name: Caching dependencies
uses: actions/cache@v3
with:
path: ~/.hgexternalcache
key: ${{ runner.os }}-${{ hashFiles('*/external/binaries-list', '*/*/external/binaries-list') }}
restore-keys: ${{ runner.os }}-

- name: Checkout ${{ github.ref }} ( ${{ github.sha }} )
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: false

- name: Build NetBeans
run: ant -quiet -Dcluster.config=release build-nozip
Expand Down

0 comments on commit e5cf06f

Please sign in to comment.