Skip to content

Commit

Permalink
devops: do not use broken overwrite: true for uploads
Browse files Browse the repository at this point in the history
Reverting parts of microsoft#29080 related to use of overwrite: true as it is racy and fails time to time with parallel jobs.

Reference actions/upload-artifact#506
  • Loading branch information
yury-s committed Jan 25, 2024
1 parent 86c881f commit 84e3397
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/actions/upload-blob-report/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/create_test_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84e3397

Please sign in to comment.