Fix auto commit handling for PR cases where the green tests files have not changed.

pull/168/head
Laurents Meyer 2 years ago
parent 6d9e20d380
commit 1332c941cd

@ -46,11 +46,11 @@ jobs:
core.setOutput('hasGreenTestsArtifacts', 'true');
}
- name: 'Download artifact'
if: steps.DownloadGreenTests.output.hasGreenTestsArtifacts == 'true'
if: steps.DownloadGreenTests.outputs.hasGreenTestsArtifacts == 'true'
shell: pwsh
run: Expand-Archive green-tests.zip -DestinationPath './test/EFCore.Jet.FunctionalTests/GreenTests' -Force
- name: 'Commit Green Tests'
if: steps.DownloadGreenTests.output.hasGreenTestsArtifacts == 'true'
if: steps.DownloadGreenTests.outputs.hasGreenTestsArtifacts == 'true'
shell: pwsh
run: |
if ((git status -s).Length -gt 0) {
Loading…
Cancel
Save