Skip to content

The agent that grows with you

fix(install-e2e): stage classified receipts at an artifact-safe path

ethernet1c8b4d5fafeb
diff --git a/.github/workflows/install-e2e-windows-run.yml b/.github/workflows/install-e2e-windows-run.yml
index b2157da8b69..223ae9f6ab6 100644
--- a/.github/workflows/install-e2e-windows-run.yml
+++ b/.github/workflows/install-e2e-windows-run.yml
@@ -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