.github: Specify directory to pull reports from (#61990)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61990
This adds more specificity to where to pull test reports from since I
believe that actions/upload-artifact doesn't actually respect the
working-directory default
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
Test Plan: Imported from OSS
Reviewed By: albanD, zhouzhuojie
Differential Revision: D29831719
Pulled By: seemethere
fbshipit-source-id: cee5609f97338d44a484d85baa77f0167d81ce55
diff --git a/.github/templates/windows_ci_workflow.yml.j2 b/.github/templates/windows_ci_workflow.yml.j2
index 8545129..c5742ba 100644
--- a/.github/templates/windows_ci_workflow.yml.j2
+++ b/.github/templates/windows_ci_workflow.yml.j2
@@ -216,7 +216,7 @@
retention-days: 14
if-no-files-found: error
path:
- test-reports-*.zip
+ pytorch-${{ github.run_id }}/test-reports-*.zip
- name: Cleanup workspace
if: always()
shell: bash
diff --git a/.github/workflows/periodic-pytorch-win-vs2019-cuda11-cudnn8-py3.yml b/.github/workflows/periodic-pytorch-win-vs2019-cuda11-cudnn8-py3.yml
index 99c7f67..1ae02f5 100644
--- a/.github/workflows/periodic-pytorch-win-vs2019-cuda11-cudnn8-py3.yml
+++ b/.github/workflows/periodic-pytorch-win-vs2019-cuda11-cudnn8-py3.yml
@@ -183,7 +183,7 @@
retention-days: 14
if-no-files-found: error
path:
- test-reports-*.zip
+ pytorch-${{ github.run_id }}/test-reports-*.zip
- name: Cleanup workspace
if: always()
shell: bash
diff --git a/.github/workflows/pytorch-win-vs2019-cpu-py3.yml b/.github/workflows/pytorch-win-vs2019-cpu-py3.yml
index d03e310..b0f1ffa 100644
--- a/.github/workflows/pytorch-win-vs2019-cpu-py3.yml
+++ b/.github/workflows/pytorch-win-vs2019-cpu-py3.yml
@@ -168,7 +168,7 @@
retention-days: 14
if-no-files-found: error
path:
- test-reports-*.zip
+ pytorch-${{ github.run_id }}/test-reports-*.zip
- name: Cleanup workspace
if: always()
shell: bash
diff --git a/.github/workflows/pytorch-win-vs2019-cuda10-cudnn7-py3.yml b/.github/workflows/pytorch-win-vs2019-cuda10-cudnn7-py3.yml
index d57529e..6e242bf 100644
--- a/.github/workflows/pytorch-win-vs2019-cuda10-cudnn7-py3.yml
+++ b/.github/workflows/pytorch-win-vs2019-cuda10-cudnn7-py3.yml
@@ -186,7 +186,7 @@
retention-days: 14
if-no-files-found: error
path:
- test-reports-*.zip
+ pytorch-${{ github.run_id }}/test-reports-*.zip
- name: Cleanup workspace
if: always()
shell: bash
diff --git a/.github/workflows/pytorch-win-vs2019-cuda11-cudnn8-py3.yml b/.github/workflows/pytorch-win-vs2019-cuda11-cudnn8-py3.yml
index cd4d3cd..f48873c 100644
--- a/.github/workflows/pytorch-win-vs2019-cuda11-cudnn8-py3.yml
+++ b/.github/workflows/pytorch-win-vs2019-cuda11-cudnn8-py3.yml
@@ -185,7 +185,7 @@
retention-days: 14
if-no-files-found: error
path:
- test-reports-*.zip
+ pytorch-${{ github.run_id }}/test-reports-*.zip
- name: Cleanup workspace
if: always()
shell: bash