Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add warning
  • Loading branch information
Maxim Lobanov
Maxim Lobanov committed Mar 19, 2021
commit 6db3a52964a6a006b6fdaae1ac59f1f72351ed8a
1 change: 1 addition & 0 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28814,6 +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`);
}
catch (error) {
core.setFailed(error.message);
Expand Down
4 changes: 4 additions & 0 deletions src/setup-java.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Comment thread
maxim-lobanov marked this conversation as resolved.
Outdated
);
} catch (error) {
core.setFailed(error.message);
}
Expand Down