Unverified Commit ebb424f2 authored by Maxim Lobanov's avatar Maxim Lobanov Committed by GitHub
Browse files

Beatify "main" warning about breaking changes (#144)

* add warning

* Update src/setup-java.ts

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

* Update index.js

Co-authored-by: default avatarKonrad Pabjan <[email protected]>
parent 9c7940b9
Loading
Loading
Loading
Loading
+1 −1
Changes for dist/setup/index.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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);