Commit graph

277 commits

Author SHA1 Message Date
bigdaz
c31cff66cf Update dist directory 2024-04-10 23:21:27 +00:00
bigdaz
ffea2635eb Update dist directory 2024-04-10 18:26:18 +00:00
bigdaz
60be407ece Update dist directory 2024-04-10 13:41:02 +00:00
daz
dec6c472c1
Build outputs 2024-04-09 15:30:42 -06:00
daz
cfe478af6a
Build outputs 2024-04-09 08:50:24 -06:00
Daz DeBoer
e235596c88
Only process build results once (#133)
On long-lived machines, it's possible that the `.build-results` directory isn't cleared between invocations. This will result in the job summary including results from previous jobs.

By marking each build-results file as 'processed' at the end of the job, we can avoid this scenario.
2024-04-08 19:44:46 -06:00
daz
59a5222069
Build outputs 2024-04-08 15:14:28 -06:00
daz
dd32675981
Build outputs 2024-04-07 22:43:28 -06:00
daz
8691214514
Build outputs 2024-04-07 16:57:18 -06:00
daz
d6f94a4073
Build outputs 2024-04-07 11:00:35 -06:00
Daz DeBoer
875d13660f
Update NPM dependency versions 2024-04-04 12:34:24 -06:00
daz
7be6c56c3d
Build outputs 2024-04-03 20:57:44 -06:00
Pavlo Shevchenko
5a171ce5b8
Inject Develocity plugin for versions 3.17 and above (#62)
To handle the rebranding of the GE plugin, this PR updates the inject-develocity init script 
to apply the `com.gradle.develocity` plugin if `3.17+` version of the plugin is requested.
2024-04-03 14:47:50 -06:00
daz
faecef076b Build outputs 2024-04-01 12:24:45 -06:00
daz
7c03a8d3fb Build outputs 2024-03-21 22:14:09 -06:00
daz
a6050d4c14 Remove redundant method implementation 2024-03-21 21:52:16 -06:00
daz
f4c37be1e8
Build outputs 2024-03-12 16:23:08 +13:00
daz
b6ea7d5b78
Build outputs 2024-02-11 17:35:43 -07:00
daz
2f23d645f2
Warn and make Gradle Wrapper script executable
Instead of failing the build, detect a non-executable wrapper file
and set the executable bit.

Fixes #17
2024-02-08 22:26:12 -07:00
daz
b2288963e8
Use sub-directory for 'setup-gradle' dist
To prepare for converting the 'dependency-submission' action into Typescript,
we move the 'setup-gradle' entry points and outputs into a sub-directory.
2024-01-29 09:16:58 -07:00
daz
959c7a62f4
Build outputs 2024-01-26 13:21:12 -07:00
daz
3c5c811777
Build outputs 2024-01-25 12:36:54 -07:00
daz
d23129d217
Build outputs 2024-01-25 11:53:44 -07:00
daz
2be01ca1c6
Build outputs 2024-01-25 10:00:43 -07:00
daz
83a95864e5
Build outputs 2024-01-25 08:56:13 -07:00
daz
f1361c71c2
Build outputs 2024-01-23 16:19:26 -07:00
daz
42452daeb5
Add explicit process.exit() to avoid wait for hanging promises
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
2024-01-16 18:01:46 -07:00
daz
346645706f
Don't overwrite dependency-graph env vars
This allows these vars to be explicitly set, which is required for
testing (and could prove useful for debugging).
2024-01-16 09:43:56 -07:00
daz
610728fa8c
Build outputs 2024-01-13 07:21:40 -07:00
Iurii Ignatko
932abbbe13
Update GE injection script for Develocity rename
- Rename all env vars expected by init-script: `s/GRADLE_ENTERPRISE/DEVELOCITY`
- Update README for changes
- Use `Develocity` consistently in tests
2024-01-10 20:30:40 -07:00
daz
3a75647ad4
Remove 'gradle-executable' input param 2024-01-04 13:53:16 -07:00
daz
650620f9f9
Build outputs 2024-01-03 21:12:13 -07:00
Daz DeBoer
32bab5b15a
Allow entries with same Job ID to match in different workflows
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
2024-01-03 18:38:36 -07:00
daz
270f30ba56
Always initialize encryption key 2024-01-02 14:28:29 -07:00
dependabot[bot]
ff5d63e9dc
Bump the npm-dependencies group with 3 updates
Bumps the npm-dependencies group with 3 updates: [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser), [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) and [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier).

Updates `@typescript-eslint/parser` from 6.15.0 to 6.17.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.17.0/packages/parser)

Updates `eslint-plugin-jest` from 27.6.0 to 27.6.1
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v27.6.0...v27.6.1)

Updates `eslint-plugin-prettier` from 5.1.1 to 5.1.2
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-dependencies
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:54:53 -07:00
daz
45ed60450e
Build outputs 2024-01-01 17:50:40 -07:00
daz
0538e78c32
Build outputs 2023-12-23 21:25:47 -07:00
daz
92cb3fe7e8
Build outputs 2023-12-23 18:25:52 -07:00
daz
e6566cde89
Build outputs 2023-12-23 12:31:17 -07:00
daz
a0fc8606d2
Build outputs 2023-12-19 14:08:34 -07:00
daz
a71aff6a12
Handle failure in cache-cleanup
Do not abort the remainder of the post-action on failure in cache-cleanup.
Instead, just log a warning and continue.

Fixes #858
Fixes #990
2023-12-11 20:38:28 -07:00
Daz DeBoer
9bca466e27
Make artifact retention configurable
- Added a new `artifact-retention-days` input parameter to control retention of uploaded artifacts
- Artifacts retention will use repository settings if not overridden.
2023-11-09 00:06:31 -07:00
daz
8db1c7621b
Build outputs 2023-11-08 21:02:15 -08:00
daz
bfa3c0508e
Build outputs 2023-09-30 08:49:10 -06:00
daz
d1b726d8c1 Do not generate dependency graph in cache-cleanup
- Allow environment variables to be overridden by system properties in dependency-graph initscript
- Set `GITHUB_DEPENDENCY_GRAPH_ENABLED=false` when executing Gradle for cache cleanup
2023-09-29 22:55:54 +02:00
daz
5658338fb0 Build outputs 2023-09-26 15:51:30 +02:00
Daz DeBoer
b5126f31db
Use github.getOctokit() for compat with GitHub Enterprise
Thanks @nise-nabe for the inspiration

Fixes #885
2023-09-21 10:55:26 -06:00
daz
103e3a7ba7
Build outputs 2023-09-21 08:47:55 -06:00
daz
b9cd1d9e69
Build outputs 2023-08-20 16:29:23 -06:00
daz
ff3f4cfbf8
Build outputs 2023-08-19 20:14:11 -06:00
daz
50d07aa0e5
Build outputs 2023-08-19 13:37:53 -06:00
daz
8cade330d4 Include provisioned Gradle version as action output
Fixes #259
2023-08-19 20:37:12 +02:00
daz
19e2bdf3c0
Build outputs 2023-08-14 20:07:24 -06:00
daz
a8aac055e2
Build outputs 2023-07-24 08:55:39 -06:00
daz
ced6859e9c
Update Build Scan™ to Build Scan® 2023-07-22 08:53:58 -06:00
daz
8e5c8782a3
Build outputs 2023-07-17 15:35:48 -06:00
Daz DeBoer
a0fdbb009a
Fix issue locating wrapper bat on windows 2023-07-15 23:04:38 -06:00
daz
3c11eee5f9
Don't use full path when executing gradlew
Fixes #796
2023-07-13 16:15:54 -06:00
daz
295170c2ce
Remove dists for removed actions 2023-07-13 13:12:44 -06:00
dependabot[bot]
ce999babab
Bump semver from 5.7.1 to 5.7.2
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 18:56:01 -06:00
daz
bc190ca89a
Build outputs 2023-07-07 20:43:20 -06:00
daz
d7761f188f Update prettier to v3.0.0 2023-07-08 04:40:54 +02:00
daz
1a6aca96f3
Build outputs 2023-07-07 19:56:01 -06:00
daz
626d937994
Remove commas from workflow name
Commas are explicitly disallowed in cache keys, so remove any from
workflow name when generating cache key.
2023-06-29 10:01:14 -06:00
daz
8e02c8272a
Build outputs 2023-06-28 12:24:28 -06:00
daz
75a86cfe02
Build outputs 2023-06-28 11:24:58 -06:00
daz
4388b1f9e5
Build outputs 2023-06-06 10:51:48 -06:00
daz
2bf6bc3646
Include workflow name in cache key
Fixes #699 by avoiding cache key collisions between jobs with the
same name in different workflows.
2023-05-23 14:59:12 -06:00
daz
a810b86311
Update dependencies
- Bump string-argv from 0.3.1 to 0.3.2
- Bump patch-package from 6.5.1 to 7.0.0
- Bump @typescript-eslint/parser from 5.59.1 to 5.59.2
2023-05-02 14:58:36 -06:00
Daz DeBoer
eb126d771e
Update for Gradle 8.1 release
With Gradle 8.1, the configuration-cache has changed and is now stable. 
As a temporary measure, this commit disables save/restore of the configuration-cache
data to avoid issues until we can deal with this change properly.
2023-04-14 16:23:09 -06:00
daz
5056fa9d50
Patch @azure/logger to address CodeQL violations 2023-04-12 14:15:34 -06:00
daz
4f87177da0
Build outputs 2023-04-12 13:03:31 -06:00
Daz DeBoer
a8f0f0d523
NPM dependency updates
* Update development dependencies
* Update runtime dependencies
2023-03-25 13:05:25 -06:00
Daz DeBoer
530c579a03
Update dependencies 2023-02-20 15:10:09 -07:00
Daz DeBoer
6df3b5baf5
Udate @actions/cache to 3.1.3 2023-02-14 09:31:23 -07:00
Daz DeBoer
59d37bdb61
Bump @actions/cache to 3.1.2 2023-02-06 15:06:03 -07:00
Daz DeBoer
b47aad4750
Remove use of deprecated fs.rmdir
Using fs.rm({recursive: true}) instead.

Fixes #502
2023-02-06 12:40:03 -07:00
Daz DeBoer
50f436c485
Bump @actions/glob from 0.3.0 to 0.4.0 2023-02-06 12:31:46 -07:00
Daz DeBoer
b744d1079a
Update development dependencies 2023-01-19 18:10:04 -07:00
Daz DeBoer
7e68f96bb3
Build outputs 2022-12-07 20:10:55 +13:00
Daz DeBoer
970a1475f1
Update development dependencies 2022-12-07 17:30:50 +13:00
Daz DeBoer
fab7664a6a
Reset patch and build outputs 2022-10-20 07:28:45 -06:00
Daz DeBoer
c224a16628
Update node dependencies 2022-10-20 07:06:26 -06:00
Daz DeBoer
af916fa394
Build outputs 2022-09-27 07:47:20 -06:00
Daz DeBoer
c295a4096e
Patch @azure/logger to fix CodeQL warning
Logging of the AZURE_LOG_LEVEL env var value is considered a security issue,
since any environment variable value could contain sensitive information.
In this case, logging the value is not really necessary.
2022-09-22 10:28:11 -06:00
Daz DeBoer
74a56b60ce
Disable source-map-register
The included sourcemap-register.js file is triggering a high priority
CodeQL warning, which can prevent users from adopting the action.
Removing this sourcemap support for now, until this can be fixed upstream.
2022-09-22 10:22:04 -06:00
Daz DeBoer
fc9e8feb61
Build outputs 2022-08-26 09:04:11 -06:00
Daz DeBoer
d6110ecac2
Build outputs 2022-08-25 20:06:13 -06:00
Daz DeBoer
11c5fa73ac
Build outputs 2022-08-22 14:10:53 -06:00
Daz DeBoer
865815e1b6
Build outputs 2022-08-22 13:30:44 -06:00
Daz DeBoer
cd579d970f
Build outputs 2022-08-18 17:19:11 -06:00
Daz DeBoer
9411346324
Build outputs 2022-08-16 17:55:14 -06:00
Daz DeBoer
8df5664474
Simplify patch 2022-08-16 17:30:58 -06:00
Daz DeBoer
25e9b4d3f6
Build outputs 2022-08-16 16:38:03 -06:00
Daz DeBoer
a62a2e6297
Build outputs 2022-08-15 19:02:19 -06:00
Daz DeBoer
8ca744f938
Build outputs 2022-08-15 12:50:44 -06:00
Daz DeBoer
6daf446e27
Build outputs 2022-07-11 13:37:59 -06:00
Daz DeBoer
fecf3693b5
Build outputs 2022-06-22 16:41:13 -06:00
Daz DeBoer
d8b58e3519
Build outputs 2022-06-20 20:18:17 -06:00
Daz DeBoer
6594e9d359
Update dev dependencies 2022-06-20 18:08:11 -06:00