From 35d40347d0753b690624d96601ad29c943cebff9 Mon Sep 17 00:00:00 2001 From: James Dawson Date: Wed, 11 Sep 2024 09:25:36 +0100 Subject: [PATCH] Add some logging to help troubleshooting --- actions/run-build-process/action.yml | 2 ++ actions/run-scripted-build/action.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/actions/run-build-process/action.yml b/actions/run-build-process/action.yml index c1e8dd5..a076d35 100644 --- a/actions/run-build-process/action.yml +++ b/actions/run-build-process/action.yml @@ -93,6 +93,8 @@ runs: - name: Set defaults id: set_defaults run: | + echo "inputs: ${{ toJson(inputs) }}" + echo "ref: ${{ github.ref }}" echo "CODE_COVERAGE_SUMMARY_FILE=${{ inputs.codeCoverageSummaryDir || '_codeCoverage' }}" >> $GITHUB_OUTPUT echo "CODE_COVERAGE_SUMMARY_FILE=${{ inputs.codeCoverageSummaryFile || 'SummaryGithub.md' }}" >> $GITHUB_OUTPUT echo "DEFAULT_BUILD_TASKS=${{ (inputs.forcePublish == 'true' || startsWith(github.ref, 'refs/tags/')) && 'FullBuildAndPublish' || 'FullBuild' }}" >> $GITHUB_OUTPUT diff --git a/actions/run-scripted-build/action.yml b/actions/run-scripted-build/action.yml index a8bdb90..305eaae 100644 --- a/actions/run-scripted-build/action.yml +++ b/actions/run-scripted-build/action.yml @@ -113,6 +113,7 @@ runs: name: ${{ inputs.displayName }} run: | $tasks = "${{ inputs.tasks }}" -split "," + Write-Host "Running Tasks: $tasks" ${{ inputs.buildScriptPath }} -Tasks $tasks ` -Configuration ${{ inputs.configuration }} shell: pwsh