Skip to content

Commit

Permalink
fix: A cache error due to not creating a system id file
Browse files Browse the repository at this point in the history
```
Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
```
  • Loading branch information
sya-ri committed Jun 3, 2022
1 parent c5159f0 commit 333d8db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/main/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/packsquash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ function enableColorInPacksquashLogs() {
export async function getSystemId(workingDirectory: WorkingDirectory) {
const inputSystemId = getInput(Options.SystemId);
if (inputSystemId) {
await writeFile(workingDirectory.systemIdFile, inputSystemId, 'utf8');
return inputSystemId;
}

Expand Down

0 comments on commit 333d8db

Please sign in to comment.