Browse Source

chore: upgrade upload artifact for ci-cd

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/10006/head
mertmit 2 days ago
parent
commit
b3ba41e8b7
  1. 12
      .github/workflows/playwright-test-workflow.yml

12
.github/workflows/playwright-test-workflow.yml

@ -171,32 +171,32 @@ jobs:
# working-directory: ./tests/playwright # working-directory: ./tests/playwright
# run: PLAYWRIGHT_HTML_REPORT=playwright-report-quick npm run test:quick # run: PLAYWRIGHT_HTML_REPORT=playwright-report-quick npm run test:quick
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: ${{ inputs.db == 'sqlite' }} if: ${{ inputs.db == 'sqlite' }}
with: with:
name: quick-backend-log-${{ inputs.shard }} name: quick-backend-log-${{ inputs.shard }}-test-backend
path: ./packages/nocodb/quick_${{ inputs.shard }}_test_backend.log path: ./packages/nocodb/quick_${{ inputs.shard }}_test_backend.log
retention-days: 2 retention-days: 2
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: ${{ inputs.db == 'sqlite' }} if: ${{ inputs.db == 'sqlite' }}
with: with:
name: playwright-report-quick-${{ inputs.shard }} name: playwright-report-quick-${{ inputs.shard }}
path: ./tests/playwright/playwright-report-quick/ path: ./tests/playwright/playwright-report-quick/
retention-days: 2 retention-days: 2
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: always() if: always()
with: with:
name: playwright-report-${{ inputs.db }}-${{ inputs.shard }} name: playwright-report-${{ inputs.db }}-${{ inputs.shard }}
path: ./tests/playwright/playwright-report/ path: ./tests/playwright/playwright-report/
retention-days: 2 retention-days: 2
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: always() if: always()
with: with:
name: playwright-report-stress-${{ inputs.db }}-${{ inputs.shard }} name: playwright-report-stress-${{ inputs.db }}-${{ inputs.shard }}
path: ./tests/playwright/playwright-report-stress/ path: ./tests/playwright/playwright-report-stress/
retention-days: 2 retention-days: 2
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: always() if: always()
with: with:
name: backend-logs-${{ inputs.db }}-${{ inputs.shard }} name: backend-logs-${{ inputs.db }}-${{ inputs.shard }}

Loading…
Cancel
Save