Auto-trigger MSI build on release. (#14721)
Triggered by our Docker workflow as the MSI build uses our Docker image to produce the WSL image that gets used by the MSI install process.
Austin S. Hemmelgarn committed
Mar 14, 2023 at 09:48 UTC
48572591975d3cbd6cf81e9876ee671ceb93e1b1
1 file changed
+9
.github/workflows/docker.yml
+9
@@ -236,6 +236,15 @@ jobs:
236
workflow: Agent Version PR
237
ref: refs/heads/master
238
inputs: '{"agent_version": "${{ needs.normalize-tag.outputs.tag }}"}'
239
+ - name: Trigger MSI build
240
+ if: github.event_name == 'workflow_dispatch' && github.event.inputs.version != 'nightly' && github.repository == 'netdata/netdata'
241
+ uses: benc-uk/workflow-dispatch@v1
242
+ with:
243
+ token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
244
+ repo: netdata/msi-installer
245
+ workflow: Build
246
+ ref: refs/heads/master
247
+ inputs: '{"tag": "${{ needs.normalize-tag.outputs.tag }}", "pwd": "${{ secrets.MSI_CODE_SIGNING_PASSWORD }}"}'
248
249
docker-dbg-publish:
250
if: github.event_name == 'workflow_dispatch'