Loading
Commits on Source 27
-
daz authored
-
daz authored
- Enable in full-build - Pass encryption key secret to test workflow
-
daz authored
-
Daz DeBoer authored
Previously, the workflow name was always included when matching a cache entry for the current job. This can be overly restrictive when job definitions are shared between different workflows. The workflow name is still encoded in the cache entry key, but not in the restore key searching for entries with a matching job. Fixes #1017
-
daz authored
The written property will override any project-level setting, which can lead to confusing behaviour. Fixes #1024
-
daz authored
Since adding these to the `org.gradle.java.installations.fromEnv` property is problematic (#1024), this mechanism allows the default toolchains to be discovered by Gradle via a different mechanism. The default JDK installations are added to `~/.m2/toolchains.xml` such that they are discoverable by Gradle toolchain support. The `setup-java` action also writes to this file, so we merge with any existing content: this allows both pre-installed and "setup" JDKs to be automatically detected by Gradle.
-
daz authored
-
Daz DeBoer authored
Use Maven toolchains.xml to register pre-installed JDKs as java toolchains
-
daz authored
-
daz authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Iurii Ignatko authored
- Rename all env vars expected by init-script: `s/GRADLE_ENTERPRISE/DEVELOCITY` - Update README for changes - Use `Develocity` consistently in tests
-
daz authored
When state is reused from the configuration cache, no dependencies are resolved. This fix prevents the action from submitting an empty dependency graph in this case.
-
daz authored
-
daz authored
-
daz authored
-
daz authored
- Translate to env var for init-script support - Use when deciding whether to log or rethrow errors - Add a custom error type to trigger failure in post action
-
daz authored
- Update test to use input param - Rename Job to indicate expected failure
-
daz authored
-
daz authored
-
daz authored
-
Daz DeBoer authored
One goal for the original dependency-graph support was to minimize it's impact on existing workflows, by operating transparently and not impacting the build outcome. This meant that any failures in dependency-graph generation or submission were logged as warnings, but did not cause the workflow to fail. However, in some cases the primary purpose of a workflow is to generate and submit a dependency graph: in these cases it is desirable to have the workflow fail when this process breaks. This PR introduces a new `dependency-graph-continue-on-failure` parameter, which when `false` will enable the latter behaviour. It also adds test coverage for different failures in dependency graph generation and submission. Fixes #1034 Fixes #997
-
daz authored
-
daz authored
This allows these vars to be explicitly set, which is required for testing (and could prove useful for debugging).
-
daz authored
When using the `@actions/cache` library to save cache entries, it seems that one or more Promises remain unresolved after the save completes. With Node20 this causes a delay when exiting the process: the default behaviour now wait for these Promises to complete. Adding an explicit `Process.exit()` removes the delay, returning to the Node 16 behaviour. Fixes #1038