Mirror musl toolchain.

Fixes #12
This commit is contained in:
Fabio Niephaus 2022-08-03 17:05:41 +02:00
parent f409c6cadd
commit e82ef137ec
No known key found for this signature in database
GPG Key ID: F21CF5275F31DFD6
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -165,7 +165,7 @@ function setUpNativeImageMusl() {
}
else {
core.startGroup(`Setting up musl for GraalVM Native Image...`);
const muslDownloadPath = yield tc.downloadTool(`http://more.musl.cc/10/x86_64-linux-musl/${MUSL_NAME}.tgz`);
const muslDownloadPath = yield tc.downloadTool(`https://github.com/graalvm/setup-graalvm/releases/download/x86_64-linux-musl-${MUSL_VERSION}/${MUSL_NAME}.tgz`);
const muslExtractPath = yield tc.extractTar(muslDownloadPath);
const muslPath = (0, path_1.join)(muslExtractPath, MUSL_NAME);
const zlibCommit = 'ec3df00224d4b396e2ac6586ab5d25f673caa4c2';

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,7 @@ export async function setUpNativeImageMusl(): Promise<void> {
} else {
core.startGroup(`Setting up musl for GraalVM Native Image...`)
const muslDownloadPath = await tc.downloadTool(
`http://more.musl.cc/10/x86_64-linux-musl/${MUSL_NAME}.tgz`
`https://github.com/graalvm/setup-graalvm/releases/download/x86_64-linux-musl-${MUSL_VERSION}/${MUSL_NAME}.tgz`
)
const muslExtractPath = await tc.extractTar(muslDownloadPath)
const muslPath = join(muslExtractPath, MUSL_NAME)