Skip to content
Open
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
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
name: PR Workflow
# If any dependent jobs fails, this WF skips which won't block merging PRs
# calling always() is required for this WF to run all the time
if: github.repository_owner == 'aws' && always()
runs-on: ubuntu-latest
needs:
- unit-functional
Expand Down Expand Up @@ -197,15 +196,13 @@ jobs:

java-gradle-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / java gradle
if: github.repository_owner == 'aws'
runs-on: ${{ matrix.os }}
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python:
- "3.8"
Expand All @@ -220,7 +217,7 @@ jobs:
python-version: ${{ matrix.python }}
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
distribution: 'corretto'
java-version: '21'
- run: make init
- run: pytest -vv tests/integration/workflows/java_gradle
Expand Down
2 changes: 1 addition & 1 deletion aws_lambda_builders/workflows/java_gradle/gradle.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def build(self, source_dir, build_file, cache_dir=None, init_script_path=None, p
if not self.os_utils.exists(build_file):
raise BuildFileNotFoundError(build_file)

args = ["build", "--build-file", build_file]
args = ["build", "--build-file", build_file, "--no-build-cache"]
if cache_dir is not None:
args.extend(["--project-cache-dir", cache_dir])
if properties is not None:
Expand Down