Skip to content

Commit 95e1dcd

Browse files
authored
Merge pull request #31733 from gemmellr/main
CI Fork Maven Cache job config tweaks
2 parents 7a2fe88 + 4d5dd43 commit 95e1dcd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci-fork-mvn-cache.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
schedule:
2121
# first day of month at 12:10am
2222
- cron: '10 0 1 * *'
23+
workflow_dispatch:
2324

2425
concurrency:
2526
group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}"
@@ -55,8 +56,10 @@ jobs:
5556
# refresh cache every month to avoid unlimited growth
5657
key: q2maven-${{ steps.get-date.outputs.date }}
5758
- name: Build
59+
if: steps.cache-maven.outputs.cache-hit != 'true'
5860
run: |
5961
./mvnw -T1C -e -B --settings .github/mvn-settings.xml -Dquickly-ci -Dtcks clean install
6062
- name: Delete Local Artifacts From Cache
63+
if: steps.cache-maven.outputs.cache-hit != 'true'
6164
shell: bash
6265
run: rm -r ~/.m2/repository/io/quarkus

0 commit comments

Comments
 (0)