Skip to content

Commit

Permalink
check date with seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Roma36 committed Nov 14, 2023
1 parent aa3e02c commit 7602ca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ jobs:
- name: Zip Reports and Results
if: always() && github.ref == 'refs/heads/main'
run: |
DATE=$(date +%Y-%m-%d)
PLAYWRIGHT_REPORT_ZIP="${DATE}-${{ github.run_id }}.zip"
DATE=$(date +'%Y-%m-%dT%H:%M:%S')
PLAYWRIGHT_REPORT_ZIP="${{ github.run_id }}-${DATE}.zip"
echo "PLAYWRIGHT_REPORT_ZIP=$PLAYWRIGHT_REPORT_ZIP" >> $GITHUB_ENV
zip -r $PLAYWRIGHT_REPORT_ZIP playwright-report/ test-results/
Expand Down

0 comments on commit 7602ca6

Please sign in to comment.