From 5aee35970049ac623777d781cae1701b3d5f7e43 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 17 Aug 2022 22:32:55 +0200 Subject: [PATCH] git: Send workflow dispatch request to Plugin template repo on release --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ea57168f..d4f125bbf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,6 +110,14 @@ jobs: tag: ImHex-v${{env.IMHEX_VERSION}} repo: ImHex-Patterns token: ${{ secrets.RELEASE_TOKEN }} + + - name: ✉️ Update C++ Plugin Template + uses: mvasigh/dispatch-action@main + with: + token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} + repo: ImHex-Cpp-Plugin-Template + owner: WerWolv + event_type: update_submodule release-windows: name: Release Windows @@ -131,4 +139,4 @@ jobs: .\wingetcreate.exe update WerWolv.ImHex -u $url --version $version if ($version -notmatch "-") { .\wingetcreate.exe submit .\manifests\w\WerWolv\ImHex\${version}\ --token $env:WINGET_GITHUB_TOKEN - } \ No newline at end of file + }