Skip to content

Update github workflow to checkout v2.#724

Merged
xStrom merged 1 commit intolinebender:masterfrom
xStrom:checkout
Mar 20, 2020
Merged

Update github workflow to checkout v2.#724
xStrom merged 1 commit intolinebender:masterfrom
xStrom:checkout

Conversation

@xStrom
Copy link
Member

@xStrom xStrom commented Mar 20, 2020

The github actions script we have uses checkout v1. Apparently that's broken. I ran into the issue in #712 where the tests timed out and I tried to manually re-run the jobs. However manual re-running of jobs doesn't work.

git checkout --progress --force 1b3971da947c8f67e5dcb2bbc47bd206deaae3c6
##[error]fatal: reference is not a tree: 1b3971da947c8f67e5dcb2bbc47bd206deaae3c6
Removed matchers: 'checkout-git'
##[error]Git checkout failed with exit code: 128
##[error]Exit code 1 returned from process: file name '/home/runner/runners/2.165.2/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Repository.v1_0.CheckoutTask, Runner.Plugins"'.

This issue is documented in checkout#23. The issue was closed with a claim that checkout v2 fixes it.

This PR here updates our scripts to use checkout v2.

Copy link
Member

@cmyr cmyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants