-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
airbyte-ci: refactor GradleTask to run in subprocess (#52033)
- Loading branch information
1 parent
633e65c
commit 0b6d37d
Showing
9 changed files
with
229 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Install Java Environment | ||
description: "Installs the Java environment" | ||
inputs: | ||
java_version: | ||
description: "Java version" | ||
required: false | ||
default: "21" | ||
type: string | ||
gradle_cache_read_only: | ||
description: "Whether to use a read-only Gradle cache" | ||
required: false | ||
default: false | ||
type: boolean | ||
gradle_cache_write_only: | ||
description: "Whether to use a write-only Gradle cache" | ||
required: false | ||
default: false | ||
type: boolean | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: corretto | ||
java-version: ${{ inputs.java_version }} | ||
- uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
cache-read-only: ${{ inputs.gradle_cache_read_only }} | ||
cache-write-only: ${{ inputs.gradle_cache_write_only }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
389 changes: 191 additions & 198 deletions
389
airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/steps/gradle.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters