Skip to content

Commit 68fd192

Browse files
Drop no longer needed workaround
1 parent 9a5b287 commit 68fd192

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flatpak-builder/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ const build = async (manifest, manifestPath, cacheHitKey, config) => {
247247

248248
if (config.cacheBuildDir && (cacheKey !== cacheHitKey)) {
249249
await cache.saveCache(
250-
[...CACHE_PATH], // TODO: drop once https://github.com/actions/toolkit/pull/1378 is merged
250+
CACHE_PATH,
251251
cacheKey
252252
).catch((reason) => {
253253
core.error(`Failed to save cache: ${reason}`)
@@ -325,7 +325,7 @@ const prepareBuild = async (config) => {
325325
if (config.cacheBuildDir && config.restoreCache) {
326326
const cacheKey = await config.cacheKey()
327327
cacheHitKey = await cache.restoreCache(
328-
[...CACHE_PATH], // TODO: drop once https://github.com/actions/toolkit/pull/1378 is merged
328+
CACHE_PATH,
329329
`${cacheKey}`,
330330
[
331331
'flatpak-builder-',

0 commit comments

Comments
 (0)