Skip to content

Commit

Permalink
requires path
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Mar 20, 2024
1 parent 44b9730 commit 98299e7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/actions/cache/dist/restore/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/actions/cache/dist/save/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions .github/actions/cache/src/saveImpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ async function cleanUp() {
)
}
} catch (error) {
core.error('Error removing old cache files')
core.setFailed(error.message)
core.setFailed('Error removing old cache files.' + error.message)
}
}

Expand Down
1 change: 1 addition & 0 deletions .github/actions/cache/src/utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const core = require('@actions/core')
const fs = require('fs')
const path = require('path')

async function getSortedCacheFiles(path, key = '') {
if (!fs.existsSync(path)) {
Expand Down

0 comments on commit 98299e7

Please sign in to comment.