Skip to content

Commit

Permalink
Beatify "main" warning about breaking changes (#144)
Browse files Browse the repository at this point in the history
* add warning

* Update src/setup-java.ts

Co-authored-by: Konrad Pabjan <[email protected]>

* Update index.js

Co-authored-by: Konrad Pabjan <[email protected]>
  • Loading branch information
maxim-lobanov and konradpabjan authored Mar 22, 2021
1 parent 9c7940b commit ebb424f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28814,7 +28814,7 @@ function run() {
const keyFingerprint = (yield gpg.importKey(gpgPrivateKey)) || '';
core.saveState(constants.STATE_GPG_PRIVATE_KEY_FINGERPRINT, 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`);
core.warning(`All setup-java actions pinned to the 'main' branch will fail on April 5th 2021. Please explicitly reference your action with the 'v1' tag ('actions/setup-java@v1') to avoid build failures. Find more details at https://github.com/actions/setup-java/issues/137`);
}
catch (error) {
core.setFailed(error.message);
Expand Down

0 comments on commit ebb424f

Please sign in to comment.