Bump version to 1.2.0.

This commit is contained in:
Fabio Niephaus 2024-03-18 17:12:35 +01:00
parent 3d5584d4fc
commit 6c07077221
No known key found for this signature in database
GPG Key ID: F21CF5275F31DFD6
4 changed files with 5 additions and 5 deletions

2
dist/main/index.js generated vendored
View File

@ -91690,7 +91690,7 @@ const assert_1 = __nccwpck_require__(9491);
const uuid_1 = __nccwpck_require__(5840);
function downloadGraalVMEELegacy(gdsToken, version, javaVersion) {
return __awaiter(this, void 0, void 0, function* () {
const userAgent = `GraalVMGitHubAction/1.1.9 (arch:${c.GRAALVM_ARCH}; os:${c.GRAALVM_PLATFORM}; java:${javaVersion})`;
const userAgent = `GraalVMGitHubAction/1.2.0 (arch:${c.GRAALVM_ARCH}; os:${c.GRAALVM_PLATFORM}; java:${javaVersion})`;
const baseArtifact = yield fetchArtifact(userAgent, 'isBase:True', version, javaVersion);
return downloadArtifact(gdsToken, userAgent, baseArtifact);
});

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "setup-graalvm",
"version": "1.1.9",
"version": "1.2.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "setup-graalvm",
"version": "1.1.9",
"version": "1.2.0",
"license": "UPL",
"dependencies": {
"@actions/cache": "^3.2.4",

View File

@ -1,6 +1,6 @@
{
"name": "setup-graalvm",
"version": "1.1.9",
"version": "1.2.0",
"private": true,
"description": "GitHub Action for GraalVM",
"main": "lib/main.js",

View File

@ -31,7 +31,7 @@ export async function downloadGraalVMEELegacy(
version: string,
javaVersion: string
): Promise<string> {
const userAgent = `GraalVMGitHubAction/1.1.9 (arch:${c.GRAALVM_ARCH}; os:${c.GRAALVM_PLATFORM}; java:${javaVersion})`
const userAgent = `GraalVMGitHubAction/1.2.0 (arch:${c.GRAALVM_ARCH}; os:${c.GRAALVM_PLATFORM}; java:${javaVersion})`
const baseArtifact = await fetchArtifact(
userAgent,
'isBase:True',