Skip to content

Commit

Permalink
fix: sanitize file name
Browse files Browse the repository at this point in the history
  • Loading branch information
tobi-bams committed Sep 23, 2024
1 parent 826db06 commit da3f653
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,18 @@ jobs:
# run: yarn run cy-comp
# continue-on-error: false

- name: Debug test files
run: |
echo ${{ matrix.file }}
- name: Sanitize Test File Path
run: echo "SANITIZED_FILE=$(echo ${{ matrix.file }} | sed 's/\//_/g')" >> $GITHUB_ENV

- name: Debug Cypress logs location
run: ls -R cypress
- name: Debug sanitized file
run: echo "Sanitized file $SANITIZED_FILE"

- name: Upload Cypress logs
# if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.file | replace('/', '_') }}-cypress-logs
name: "${{ env.SANITIZED_FILE }}-cypress-logs"
path: cypress/videos

- name: Stop Stack
Expand Down

0 comments on commit da3f653

Please sign in to comment.