Skip to content

Commit 8dcdd3d

Browse files
committed
Automatically build installMetadata.zip on push
1 parent 546c180 commit 8dcdd3d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/test_and_deploy.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,17 @@ jobs:
102102
- name: Validate JSON
103103
run: bash travis_validate_json.sh
104104

105+
# Build installMetadata.zip
106+
# Only run this if the JSON validation was successful, in case there is an error in one of the JSON files
107+
# NOTE: This PAT will expire periodically, but Github should send a reminder to renew it.
108+
- name: Trigger installMetadata.zip build in python-patcher-metadata repo
109+
uses: benc-uk/workflow-dispatch@v1
110+
with:
111+
workflow: build.yml
112+
repo: 07th-mod/python-patcher-metadata
113+
# Required when using the `repo` option. Either a PAT or a token generated from the GitHub app or CLI
114+
token: "${{ secrets.PYTHON_PATCHER_METADATA_PAT }}"
115+
105116
# Download Windows artifacts
106117
- name: Download all Windows .exe artifacts
107118
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)