Skip to content

Commit

Permalink
Format & build [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 9, 2022
1 parent dff29ef commit cc6d31b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -61919,9 +61919,7 @@ async function run() {
const reposList = (_a = check.reposFile()) !== null && _a !== void 0 ? _a : (githubAppInfo ? Buffer.from('') : Buffer.from(check.githubRepository()));
const workspaceDir = await workspace.prepare(reposList, token);
const cacheTtl = core.getInput('cache-ttl');
if (cacheTtl !== '0s') {
await workspace.restoreWorkspaceCache(workspaceDir);
}
await workspace.restoreWorkspaceCache(workspaceDir);
const timeout = core.getInput('timeout');
const version = core.getInput('scala-steward-version');
const signCommits = /true/i.test(core.getInput('sign-commits'));
Expand Down Expand Up @@ -61961,9 +61959,7 @@ async function run() {
'--disable-sandbox',
githubAppArgs,
]);
if (cacheTtl !== '0') {
await workspace.saveWorkspaceCache(workspaceDir);
}
await workspace.saveWorkspaceCache(workspaceDir);
}
catch (error) {
core.setFailed(` ✕ ${error.message}`);
Expand Down

0 comments on commit cc6d31b

Please sign in to comment.