set current pr number in e2e test workflow

This commit is contained in:
mahula 2024-02-24 08:09:53 +01:00
parent 7175c95524
commit 365d9e3a08

View File

@ -22,7 +22,11 @@ jobs:
- name: E2E | if tests failed, upload report
if: ${{ failure() && steps.e2e-run.conclusion == 'failure' }}
uses: actions/upload-artifact@v4
with:
name: boilerplate-e2e-test-report-pr-${{ github.event.number }}
path: /home/runner/work/boilerplate-e2e-cypress-cucumber/boilerplate-e2e-cypress-cucumber/cypress/reports/e2e_html_report
- run: |
echo github.event.number = ${{ github.event.number }}
echo github.event.pull_request.number = ${{ github.event.pull_request.number }}
echo github.event.issue.number = ${{ github.event.issue.number }}
# uses: actions/upload-artifact@v4
# with:
# name: boilerplate-e2e-test-report-pr-${{ github.event.number }}
# path: /home/runner/work/boilerplate-e2e-cypress-cucumber/boilerplate-e2e-cypress-cucumber/cypress/reports/e2e_html_report