diff --git a/packages/cache/RELEASES.md b/packages/cache/RELEASES.md index 62ed2a29..c6f6ad29 100644 --- a/packages/cache/RELEASES.md +++ b/packages/cache/RELEASES.md @@ -4,5 +4,5 @@ - Initial release -### 0.2.0 +### 0.2.1 - Fixes issues with the zstd compression algorithm on Windows and Ubuntu 16.04 [#469](https://github.com/actions/toolkit/pull/469) \ No newline at end of file diff --git a/packages/cache/package-lock.json b/packages/cache/package-lock.json index 80ef7664..a05581c1 100644 --- a/packages/cache/package-lock.json +++ b/packages/cache/package-lock.json @@ -1,6 +1,6 @@ { "name": "@actions/cache", - "version": "0.2.0", + "version": "0.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/cache/package.json b/packages/cache/package.json index 928a0283..c9c9eba1 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@actions/cache", - "version": "0.2.0", + "version": "0.2.1", "preview": true, "description": "Actions cache lib", "keywords": [ diff --git a/packages/cache/src/internal/cacheUtils.ts b/packages/cache/src/internal/cacheUtils.ts index 53b35afa..b2793695 100644 --- a/packages/cache/src/internal/cacheUtils.ts +++ b/packages/cache/src/internal/cacheUtils.ts @@ -83,7 +83,7 @@ async function getVersion(app: string): Promise { // Use zstandard if possible to maximize cache performance export async function getCompressionMethod(): Promise { - if (process.platform === 'win32' && !isGnuTarInstalled()) { + if (process.platform === 'win32' && !(await isGnuTarInstalled())) { // Disable zstd due to bug https://github.com/actions/cache/issues/301 return CompressionMethod.Gzip }