add warning

This commit is contained in:
Maxim Lobanov 2021-03-19 12:53:45 +03:00
parent fc62ccaa4f
commit 6db3a52964
2 changed files with 5 additions and 0 deletions

View file

@ -55,6 +55,10 @@ async function run() {
keyFingerprint
);
}
core.warning(
`All setup-java actions pinned to 'main' branch will fail on 5th April 2021. Please explicitly reference your action to the 'v1' tag ('actions/setup-java@v1') to avoid build failures. Find more details in https://github.com/actions/setup-java/issues/137`
);
} catch (error) {
core.setFailed(error.message);
}