Change Distribution to \jbrsdk\

This commit is contained in:
Gregory Mitchell 2024-10-19 15:38:12 -05:00
parent 53d9f2a017
commit 3419d2fd8e
No known key found for this signature in database
GPG key ID: 771A6C995A086B84
3 changed files with 5 additions and 4 deletions

2
dist/setup/index.js vendored
View file

@ -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,

View file

@ -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:

View file

@ -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,