devops: do not use broken overwrite: true for uploads (#29160)

Reverting parts of https://github.com/microsoft/playwright/pull/29080
related to use of overwrite: true as it is racy and
[fails](https://github.com/microsoft/playwright/actions/runs/7641699534/job/20819588957?pr=28932#step:10:63)
time to time with parallel jobs:


![image](https://github.com/microsoft/playwright/assets/9798949/cd484e2d-2875-4950-9247-5ea033c6e92d)


Reference https://github.com/actions/upload-artifact/issues/506
This commit is contained in:
Yury Semikhatsky 2024-01-25 12:55:29 -08:00 committed by GitHub
parent 4c4789c740
commit 85c42939b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View File

@ -29,6 +29,5 @@ runs:
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: pull-request-number
path: pull_request_number.txt
overwrite: true
name: pull-request-${{ inputs.job_name }}
path: pull_request_number.txt

View File

@ -49,7 +49,7 @@ jobs:
- name: Read pull request number
uses: ./.github/actions/download-artifact
with:
namePrefix: 'pull-request-number'
namePrefix: 'pull-request'
path: '.'
- name: Comment on PR