Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ inputs:
cache:
description: "Cache Maven repo"
default: true
download_dependencies:
description: "Download all Maven dependencies so Maven can work in offline mode"
default: true

runs:
using: composite
Expand Down Expand Up @@ -37,7 +40,7 @@ runs:
java-version: ${{ inputs.java-version }}
- name: Cache local Maven repo
id: cache
if: ${{ inputs.cache }}
if: ${{ format('{0}', inputs.cache) == 'true' }}
uses: actions/cache@v3
with:
path: ~/.m2/repository
Expand All @@ -46,6 +49,7 @@ runs:
${{ runner.os }}-maven-
- name: Fetch any missing dependencies
shell: bash
if: ${{ format('{0}', inputs.download_dependencies) == 'true' }}
run: ./.github/bin/download-maven-dependencies.sh
- name: Configure Problem Matchers
if: ${{ inputs.java-version != '' }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ jobs:
- uses: ./.github/actions/setup
with:
cache: false
download_dependencies: false
- name: Product tests artifact
uses: actions/download-artifact@v3
with:
Expand Down