RFR: 8336928: GHA: Bundle artifacts removal broken

Zdenek Zambersky zzambers at openjdk.org
Mon Jul 22 20:33:02 UTC 2024


GHA code, which tries to remove bundle artifacts no longer works. It probably broke after [JDK-8324723](https://bugs.openjdk.org/browse/JDK-8324723) (GHA: Upgrade some actions to avoid deprecated Node 16).

**Details:**
Seems like there were some backend architecture changes in [artifact actions in v4](https://github.com/actions/upload-artifact?tab=readme-ov-file#v4---whats-new). As result old code to remove artifacts no longer works. However there is [REST API](https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28) available, which works.

-------------

Commit messages:
 - Fix bundles removal

Changes: https://git.openjdk.org/jdk/pull/20281/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20281&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8336928
  Stats: 22 lines in 1 file changed: 4 ins; 7 del; 11 mod
  Patch: https://git.openjdk.org/jdk/pull/20281.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20281/head:pull/20281

PR: https://git.openjdk.org/jdk/pull/20281


More information about the build-dev mailing list