mirror of
https://github.com/actions/setup-java.git
synced 2024-12-01 21:00:56 -05:00
Change Distribution to \jbrsdk\
This commit is contained in:
parent
53d9f2a017
commit
3419d2fd8e
3 changed files with 5 additions and 4 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -124636,7 +124636,7 @@ class JetBrainsDistribution extends base_installer_1.JavaBase {
|
||||||
const semver = vsplit[0];
|
const semver = vsplit[0];
|
||||||
const build = +vsplit[1];
|
const build = +vsplit[1];
|
||||||
// Construct URL
|
// Construct URL
|
||||||
const url = `https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-${semver}-${platform}-${arch}-b${build}.tar.gz`;
|
const url = `https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-${semver}-${platform}-${arch}-b${build}.tar.gz`;
|
||||||
return {
|
return {
|
||||||
tag_name: tag,
|
tag_name: tag,
|
||||||
semver: semver,
|
semver: semver,
|
||||||
|
|
|
@ -173,7 +173,7 @@ steps:
|
||||||
```
|
```
|
||||||
|
|
||||||
### JetBrains
|
### JetBrains
|
||||||
**NOTE:** JetBrains only provides jdk and is only available for LTS versions 11 or later.
|
**NOTE:** JetBrains only provides jdk and is only available for LTS versions 11 or later. JCEF is not bundled with this distribution.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -2,8 +2,9 @@ import * as core from '@actions/core';
|
||||||
import * as tc from '@actions/tool-cache';
|
import * as tc from '@actions/tool-cache';
|
||||||
|
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
import path from 'path';
|
import path, {resolve} from 'path';
|
||||||
import semver from 'semver';
|
import semver from 'semver';
|
||||||
|
import https from 'https';
|
||||||
|
|
||||||
import {JavaBase} from '../base-installer';
|
import {JavaBase} from '../base-installer';
|
||||||
import {IJetBrainsRawVersion, IJetBrainsVersion} from './models';
|
import {IJetBrainsRawVersion, IJetBrainsVersion} from './models';
|
||||||
|
@ -151,7 +152,7 @@ export class JetBrainsDistribution extends JavaBase {
|
||||||
const build = +vsplit[1];
|
const build = +vsplit[1];
|
||||||
|
|
||||||
// Construct URL
|
// Construct URL
|
||||||
const url = `https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-${semver}-${platform}-${arch}-b${build}.tar.gz`;
|
const url = `https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-${semver}-${platform}-${arch}-b${build}.tar.gz`;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
tag_name: tag,
|
tag_name: tag,
|
||||||
|
|
Loading…
Reference in a new issue