-
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
- Loading branch information
1 parent
f3705c9
commit a49800e
Showing
9 changed files
with
228 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
388 changes: 190 additions & 198 deletions
388
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