RFR: 8336928: GHA: Bundle artifacts removal broken [v2]
Magnus Ihse Bursie
ihse at openjdk.org
Mon Aug 5 12:11:33 UTC 2024
On Mon, 22 Jul 2024 20:41:52 GMT, Zdenek Zambersky <zzambers at openjdk.org> wrote:
>> 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.
>
> Zdenek Zambersky has updated the pull request incrementally with one additional commit since the last revision:
>
> reintroduce -s flag
The code looks sane. Have you been able to test this? (Trying out GHA changes is sometimes a bit tricky)
-------------
Marked as reviewed by ihse (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20281#pullrequestreview-2218825646
More information about the build-dev
mailing list