Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/push-task-list-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
- name: Copy task tiers to plugin repository
run: |
cp lists/tedious.json collection-log-master/src/main/resources/com/collectionlogmaster/task-list.json
cp lists/tedious.json collection-log-master/src/main/resources/com/collectionlogmaster/domain/task-list.json
cp lists/tedious.json collection-log-master/src/main/resources/com/logmaster/domain/task-list.json

- name: Create PR
uses: ./.github/actions/create-pr
Expand Down
6 changes: 5 additions & 1 deletion bin/gen-list.mts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ for (const tier of listTiers) {
listData[tierData.name] = tierData.tasks;
}

await mkdir('./lists');
await mkdir('./lists').catch((e) => {
if (e.code !== 'EEXIST') {
throw e;
}
});

// @ts-expect-error
await writeFile(`./lists/${listName}.json`, fmt.Serialize(listData));
Loading