mirror of
https://gitea.com/actions/setup-java.git
synced 2026-08-05 02:31:18 +00:00
Deprecate setup-java v1 (#1197)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Vendored
+2
@@ -30603,9 +30603,11 @@ const auth = __importStar(__webpack_require__(331));
|
||||
const gpg = __importStar(__webpack_require__(884));
|
||||
const constants = __importStar(__webpack_require__(694));
|
||||
const path = __importStar(__webpack_require__(622));
|
||||
const DEPRECATION_WARNING = 'setup-java v1 is deprecated and will no longer receive updates. Please migrate to actions/setup-java@v5.';
|
||||
function run() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
core.warning(DEPRECATION_WARNING);
|
||||
let version = core.getInput(constants.INPUT_VERSION);
|
||||
if (!version) {
|
||||
version = core.getInput(constants.INPUT_JAVA_VERSION, { required: true });
|
||||
|
||||
Reference in New Issue
Block a user