RFR: 2011: GHA: Resolve deprecation warnings
altrisi
duke at openjdk.org
Mon Sep 4 09:44:54 UTC 2023
On Thu, 31 Aug 2023 11:19:33 GMT, altrisi <duke at openjdk.org> wrote:
> This PR resolves deprecation warnings in the GHA workflow by updating dependencies and replacing the deprecated `set-output` with `GITHUB_OUTPUT`.
>
> v2 to v3 major in `checkout` just updated the node version.
>
> Github Script v3->v6 also needed a small code change (`github.repos`->`github.rest.repos`), following the documentation.
>
> GHA workflows still pass with these changes.
>
> Note that I don't have a JBS account to be able to make an issue for this PR.
While waiting for a sponsor, something slightly related that I've found is that if the mac part of the workflow is ran on `macos-13`, with no other changes, it finishes 30 minutes earlier (total of 1h20m -> 45m). Wondering if it'd be considered for another PR, although the `macos-13` image is marked as "[beta]" in the runner-images repo.
-------------
PR Comment: https://git.openjdk.org/skara/pull/1552#issuecomment-1704948812
More information about the skara-dev
mailing list