Skip to content

Commit

Permalink
Generate report name in one step
Browse files Browse the repository at this point in the history
  • Loading branch information
poulch committed Dec 19, 2024
1 parent 0cf43b6 commit 4134baf
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/actions/run-pw-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,12 @@ runs:
PROJECT_PARAMS+="--project=${PROJECT} "
done
npx playwright test --grep @e2e $PROJECT_PARAMS --shard "$SHARD_NUMBER"
- name: Generate report name
id: generate-report-name
shell: bash
run: |
input=${{ inputs.SHARD }}
echo "raportName=all-blob-reports-${input%%/*}" >> $GITHUB_ENV
echo "reportName=all-blob-reports-${$SHARD_NUMBER%%/*}" >> $GITHUB_ENV
- name: Upload blob report to GitHub Actions Artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ env.raportName }}
name: ${{ env.reportName }}
path: blob-report
retention-days: 1

0 comments on commit 4134baf

Please sign in to comment.