Bump zlib to 1.3.1

This commit is contained in:
friendseeker 2024-10-23 23:27:21 -07:00
parent 3aaf71e276
commit 792c021fb4
No known key found for this signature in database
GPG Key ID: 7DD5039728A27160

View File

@ -23,12 +23,12 @@ export async function setUpNativeImageMusl(): Promise<void> {
const muslExtractPath = await tc.extractTar(muslDownloadPath) const muslExtractPath = await tc.extractTar(muslDownloadPath)
const muslPath = join(muslExtractPath, MUSL_NAME) const muslPath = join(muslExtractPath, MUSL_NAME)
const zlibCommit = 'ec3df00224d4b396e2ac6586ab5d25f673caa4c2' const zlibVersion = '1.3.1'
const zlibDownloadPath = await tc.downloadTool( const zlibDownloadPath = await tc.downloadTool(
`https://github.com/madler/zlib/archive/${zlibCommit}.tar.gz` `https://github.com/madler/zlib/releases/download/v${zlibVersion}/zlib-${zlibVersion}.tar.gz`
) )
const zlibExtractPath = await tc.extractTar(zlibDownloadPath) const zlibExtractPath = await tc.extractTar(zlibDownloadPath)
const zlibPath = join(zlibExtractPath, `zlib-${zlibCommit}`) const zlibPath = join(zlibExtractPath, `zlib-${zlibVersion}`)
const zlibBuildOptions = { const zlibBuildOptions = {
cwd: zlibPath, cwd: zlibPath,
env: { env: {