Skip to content

Commit 1b7b119

Browse files
authored
Only push json when release
1 parent 2effb6c commit 1b7b119

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/generate-release-catalog.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Generate Latest Release JSON
22

33
on:
4-
workflow_dispatch:
5-
release:
6-
types: [released, prereleased]
4+
workflow_run:
5+
workflows: ["Build MacOS and Windows image"]
6+
types:
7+
- completed # Runs only when the other workflow finishes
78

89
jobs:
910
generate_latest_release_json:

0 commit comments

Comments
 (0)