Skip to content

Commit

Permalink
Update screenshot upload API endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
k-taro56 committed Apr 2, 2024
1 parent 56c8136 commit fad2685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/score.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Send screenshot to Blob
run: |
curl -v -s -X POST -H "Authorization: Bearer ${{ secrets.BLOB_READ_WRITE_TOKEN }}" -H "access: public" -H "x-content-type: image/png" -F "file=@app/build/outputs/roborazzi/com.github.nidroid.uiperfectcopycontesttest.ExampleUnitTest.yourAnswerTest.png" ${{ secrets.API_URL }}/api/v1/blob/${{ github.actor }}/${{ github.run_number }}.png
curl -v -s -X POST -H "Authorization: Bearer ${{ secrets.BLOB_READ_WRITE_TOKEN }}" -H "access: public" -H "x-content-type: image/png" -H "x-api-version: 7" -F "file=@app/build/outputs/roborazzi/com.github.nidroid.uiperfectcopycontesttest.ExampleUnitTest.yourAnswerTest.png" ${{ secrets.API_URL }}/api/v1/blob/${{ github.actor }}/${{ github.run_number }}.png
- name: Upload screenshot
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit fad2685

Please sign in to comment.