Unable to get Allure artifacts from Allure Github action to the Deploy GH Website action #3222
Replies: 4 comments 1 reply
-
|
Hi, @darrenge Accessing another run's artifacts requires - name: Download Allure artifact
if: ${{ github.event.workflow_run.name == 'Garnet Nightly Tests' }}
uses: actions/download-artifact@v4
with:
name: allure-report
path: allure_artifact
+ run-id: ${{ github.event.workflow_run.id }}
+ github-token: ${{ github.token }}Don't forget to add Hope that helps. I'm going to transfer this issue to the discussions as it isn't directly related to allure-csharp. |
Beta Was this translation helpful? Give feedback.
-
|
Wow ... if that is it, then that would be great! I will give it a try and let you know how it goes. |
Beta Was this translation helpful? Give feedback.
-
|
Shoot ... just putting those lines in there didn't work. I will dive deeper and let you know what I find. |
Beta Was this translation helpful? Give feedback.
-
|
Update ... it is all working. https://microsoft.github.io/garnet/allure/ Thanks again for your help. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hey @delatrie
You have helped me a couple times on issues with Allure so maybe you can look at this issue to help us get over the finish line.
The intention is to have a large matrix of tests ran every night at 1:00am (nightly.yml). That nightly action would then auto fire off the deploy to website action (deploy-website.yml) to get it actually on the website.
I have the tests running and the allure-report artifact generated with the data and everything. I just can't get it onto the GH website. There are A LOT of tests, so I am avoiding copying the allure-report to a branch and would prefer to just take it from the GH Artifacts of the nightly run. I feel like I am just missing one little thing / configuration and if you took a quick look you could help. The step that fails is this one in the deploy action:
if: ${{ github.event.workflow_run.name == 'Garnet Nightly Tests' }}
uses: actions/download-artifact@v4
with:
name: allure-report
path: allure_artifact
The repo: https://github.com/microsoft/garnet
Allure page: https://microsoft.github.io/garnet/allure/ (button on home page - getting 404 because deploy not working)
Nightly GitHub run that generates tests results and Allure Report artifact: https://github.com/microsoft/garnet/actions/workflows/nightly.yml
Deploy to GH page: https://github.com/microsoft/garnet/actions/workflows/deploy-website.yml
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions