fix(install-e2e): stage classified receipts at an artifact-safe path
This commit is contained in:
@@ -141,12 +141,19 @@ jobs:
|
||||
shell: powershell
|
||||
run: powershell -NoProfile -ExecutionPolicy Bypass -File tests\install\windows-e2e.ps1 -Phase update -InstallMethod "${{ inputs.install-method }}" -Route "${{ inputs.update-method }}" -InstallRef "${{ inputs.install-ref }}" -SetupExeUrl ${{ inputs.setup-exe-url }}
|
||||
|
||||
- name: Stage known-failure receipt
|
||||
if: steps.update.outputs.known_failure != ''
|
||||
shell: pwsh
|
||||
run: |
|
||||
New-Item -ItemType Directory -Path gui-e2e-proof -Force | Out-Null
|
||||
Copy-Item -LiteralPath (Join-Path $env:HERMES_E2E_WORKROOT 'known-failure.json') -Destination gui-e2e-proof/known-failure.json
|
||||
|
||||
- name: Upload known-failure receipt
|
||||
if: steps.update.outputs.known_failure != ''
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: install-e2e-known-${{ steps.update.outputs.known_failure }}--${{ inputs.leg-id }}
|
||||
path: ${{ env.HERMES_E2E_WORKROOT }}\known-failure.json
|
||||
path: gui-e2e-proof/known-failure.json
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
|
||||
|
||||
Reference in New Issue
Block a user