From 128eaf57903b6beabc25fe3a4364cfda2953f48b Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Tue, 16 Mar 2021 00:43:08 -0400 Subject: [PATCH] ci: Add workflow_dispatch support for Windows debugging builds --- .github/workflows/windows-workflow.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows-workflow.yml b/.github/workflows/windows-workflow.yml index 0a03d684cd..98a55d300b 100644 --- a/.github/workflows/windows-workflow.yml +++ b/.github/workflows/windows-workflow.yml @@ -23,6 +23,12 @@ on: - debian-packager/ - bin/PCSX2_keys.ini.default - "pcsx2/PAD/Linux/**" + workflow_dispatch: + inputs: + retainDebugArtifacts: + description: 'Retain debug artifacts (.pdb/.exp/.lib) for an easier debugging experience' + required: true + default: 'false' jobs: build: @@ -67,7 +73,7 @@ jobs: - name: Build PCSX2 env: # Set to 'true' to retain the .pdb / .exp / .lib, etc files which can be useful for repro'ing issues that only occur in the compiled .exe - RetainDebuggingArtifacts: "false" + RetainDebuggingArtifacts: "${{ github.event.inputs.retainDebugArtifacts == 'true' }}" run: msbuild "buildbot.xml" /m /v:n /t:ReleaseAll /p:Platform=${{ matrix.platform }} - name: Prepare Artifact Metadata