Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update self-hosted runnes to handle node20 in Actions #513

Closed
jplewa opened this issue Feb 21, 2024 · 0 comments · Fixed by #591
Closed

Update self-hosted runnes to handle node20 in Actions #513

jplewa opened this issue Feb 21, 2024 · 0 comments · Fixed by #591

Comments

@jplewa
Copy link
Member

jplewa commented Feb 21, 2024

Node 16 is deprecated in GitHub Actions, the recommended version is Node 20:

image

I switched to the new version of most actions, but they're failing in case of jobs run on self-hosted runners. For instance, actions/setup-java@v3 in Publish pulumi-<provider>-kotlin (<version>) to Maven Local Repository) should be v4, but upgrading triggers this error:

image

I also tried to add a step that would set up Node 20, like so:

      - uses: actions/setup-node@v4
        with:
          node-version: 20

but that also failed:
image

We need to update those VM images somehow to be able to handle that.

Relevant failed actions:

@jplewa jplewa self-assigned this Feb 21, 2024
@jplewa jplewa closed this as completed Jun 5, 2024
@jplewa jplewa closed this as completed Jun 5, 2024
jplewa added a commit that referenced this issue Jun 5, 2024
## Task

Resolves: #513

## Description

I managed to update the version of runners + CentOS, see related PR:
VirtuslabRnD/jvm-lab#120 (I already used `pulumi
up` on it). You can see a trial run with updated versions here:
https://github.com/VirtuslabRnD/pulumi-kotlin/actions/runs/9339671477

Signed-off-by: Julia Plewa <jplewa@virtuslab.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant