Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
406690122e | ||
|
|
4f62eae3cc | ||
|
|
5336aa8b95 |
@@ -19,7 +19,7 @@ This action:
|
||||
### Quickstart Template
|
||||
|
||||
```yml
|
||||
name: GraalVM build
|
||||
name: GraalVM Community Edition build
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
### Building a HelloWorld with GraalVM Native Image on Different Platforms
|
||||
|
||||
```yml
|
||||
name: GraalVM Native Image build
|
||||
name: GraalVM Native Image builds
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
4. Store this token as a [GitHub Action secret][gha-secrets]. For this template, we use the name `GDS_TOKEN`.
|
||||
|
||||
```yml
|
||||
name: GraalVM build
|
||||
name: GraalVM Enterprise Edition build
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
|
||||
8
dist/index.js
generated
vendored
8
dist/index.js
generated
vendored
@@ -168,10 +168,10 @@ function setUpNativeImageMusl() {
|
||||
const muslDownloadPath = yield tc.downloadTool(`http://more.musl.cc/10/x86_64-linux-musl/${MUSL_NAME}.tgz`);
|
||||
const muslExtractPath = yield tc.extractTar(muslDownloadPath);
|
||||
const muslPath = (0, path_1.join)(muslExtractPath, MUSL_NAME);
|
||||
const zlibVersion = '1.2.11';
|
||||
const zlibDownloadPath = yield tc.downloadTool(`https://zlib.net/fossils/zlib-${zlibVersion}.tar.gz`);
|
||||
const zlibCommit = 'ec3df00224d4b396e2ac6586ab5d25f673caa4c2';
|
||||
const zlibDownloadPath = yield tc.downloadTool(`https://github.com/madler/zlib/archive/${zlibCommit}.tar.gz`);
|
||||
const zlibExtractPath = yield tc.extractTar(zlibDownloadPath);
|
||||
const zlibPath = (0, path_1.join)(zlibExtractPath, `zlib-${zlibVersion}`);
|
||||
const zlibPath = (0, path_1.join)(zlibExtractPath, `zlib-${zlibCommit}`);
|
||||
const zlibBuildOptions = {
|
||||
cwd: zlibPath,
|
||||
env: Object.assign(Object.assign({}, process.env), { CC: (0, path_1.join)(muslPath, 'bin', 'gcc') })
|
||||
@@ -243,7 +243,7 @@ const assert_1 = __nccwpck_require__(9491);
|
||||
const v4_1 = __importDefault(__nccwpck_require__(824));
|
||||
function downloadGraalVMEE(gdsToken, version, javaVersion) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const userAgent = `GraalVMGitHubAction/1.0.5 (arch:${c.GRAALVM_ARCH}; os:${c.GRAALVM_PLATFORM}; java:${javaVersion})`;
|
||||
const userAgent = `GraalVMGitHubAction/1.0.6 (arch:${c.GRAALVM_ARCH}; os:${c.GRAALVM_PLATFORM}; java:${javaVersion})`;
|
||||
const baseArtifact = yield fetchArtifact(userAgent, 'isBase:True', version, javaVersion);
|
||||
return downloadArtifact(gdsToken, userAgent, baseArtifact);
|
||||
});
|
||||
|
||||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "setup-graalvm",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"private": true,
|
||||
"description": "GitHub Action for GraalVM",
|
||||
"main": "lib/main.js",
|
||||
|
||||
@@ -23,12 +23,12 @@ export async function setUpNativeImageMusl(): Promise<void> {
|
||||
const muslExtractPath = await tc.extractTar(muslDownloadPath)
|
||||
const muslPath = join(muslExtractPath, MUSL_NAME)
|
||||
|
||||
const zlibVersion = '1.2.11'
|
||||
const zlibCommit = 'ec3df00224d4b396e2ac6586ab5d25f673caa4c2'
|
||||
const zlibDownloadPath = await tc.downloadTool(
|
||||
`https://zlib.net/fossils/zlib-${zlibVersion}.tar.gz`
|
||||
`https://github.com/madler/zlib/archive/${zlibCommit}.tar.gz`
|
||||
)
|
||||
const zlibExtractPath = await tc.extractTar(zlibDownloadPath)
|
||||
const zlibPath = join(zlibExtractPath, `zlib-${zlibVersion}`)
|
||||
const zlibPath = join(zlibExtractPath, `zlib-${zlibCommit}`)
|
||||
const zlibBuildOptions = {
|
||||
cwd: zlibPath,
|
||||
env: {
|
||||
|
||||
@@ -32,7 +32,7 @@ export async function downloadGraalVMEE(
|
||||
version: string,
|
||||
javaVersion: string
|
||||
): Promise<string> {
|
||||
const userAgent = `GraalVMGitHubAction/1.0.5 (arch:${c.GRAALVM_ARCH}; os:${c.GRAALVM_PLATFORM}; java:${javaVersion})`
|
||||
const userAgent = `GraalVMGitHubAction/1.0.6 (arch:${c.GRAALVM_ARCH}; os:${c.GRAALVM_PLATFORM}; java:${javaVersion})`
|
||||
const baseArtifact = await fetchArtifact(
|
||||
userAgent,
|
||||
'isBase:True',
|
||||
|
||||
Reference in New Issue
Block a user