Skip to content

ci: use a newer github-script version #1387

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

Closed
wants to merge 1 commit into from

Conversation

dscho
Copy link
Member

@dscho dscho commented Oct 18, 2022

I had a look at the CI run of seen a couple of weeks ago and saw not only quite a number of failures but also quite a number of warnings.

This patch addresses a few of them, including the ones about using the deprecated ::set-output:: workflow command.

Similar warnings will be addressed by od/ci-use-checkout-v3-when-applicable.

cc: Taylor Blau [email protected]

@dscho dscho self-assigned this Oct 18, 2022
@dscho dscho force-pushed the upgrade-github-script-version branch 3 times, most recently from cc88a32 to dcae3f9 Compare November 8, 2022 09:30
The old version we currently use runs in node.js v12.x, which is being
deprecated in GitHub Actions. The new version uses node.js v16.x.

Incidentally, this also avoids the warning about the deprecated
`::set-output::` workflow command because the newer version of the
`github-script` Action uses the recommended new way to specify outputs.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho force-pushed the upgrade-github-script-version branch from dcae3f9 to 1b933c2 Compare November 8, 2022 10:10
@dscho
Copy link
Member Author

dscho commented Nov 8, 2022

/submit

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 8, 2022

Submitted as [email protected]

To fetch this version into FETCH_HEAD:

git fetch https://github.com/gitgitgadget/git/ pr-1387/dscho/upgrade-github-script-version-v1

To fetch this version to local tag pr-1387/dscho/upgrade-github-script-version-v1:

git fetch --no-tags https://github.com/gitgitgadget/git/ tag pr-1387/dscho/upgrade-github-script-version-v1

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 8, 2022

On the Git mailing list, Taylor Blau wrote (reply to this):

On Tue, Nov 08, 2022 at 10:13:28AM +0000, Johannes Schindelin via GitGitGadget wrote:
> From: Johannes Schindelin <[email protected]>
>
> The old version we currently use runs in node.js v12.x, which is being
> deprecated in GitHub Actions. The new version uses node.js v16.x.
>
> Incidentally, this also avoids the warning about the deprecated
> `::set-output::` workflow command because the newer version of the
> `github-script` Action uses the recommended new way to specify outputs.

Thanks for working on this.

I also appreciate you taking a more minimal approach by avoiding
touching the explicit "echo ::set-output::"'s throughout the workflow
definition, since there is other work going on there.

So let's merge this one down, let the dust settle on the other topic,
and then come back and remove the remaining ::set-output::'s later on.


Thanks,
Taylor

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 8, 2022

User Taylor Blau <[email protected]> has been added to the cc: list.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 8, 2022

This branch is now known as js/ci-set-output.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 8, 2022

This patch series was integrated into seen via git@cefc455.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 8, 2022

This patch series was integrated into next via git@5530624.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 11, 2022

This patch series was integrated into seen via git@c08655a.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 15, 2022

This patch series was integrated into seen via git@69eb1be.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 15, 2022

This patch series was integrated into master via git@69eb1be.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 15, 2022

This patch series was integrated into next via git@69eb1be.

@gitgitgadget gitgitgadget bot added the master label Nov 15, 2022
@gitgitgadget gitgitgadget bot closed this Nov 15, 2022
@gitgitgadget
Copy link

gitgitgadget bot commented Nov 15, 2022

Closed via 69eb1be.

@dscho dscho deleted the upgrade-github-script-version branch November 18, 2022 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant