Skip to content

Commit c47efd1

Browse files
committed
Added overwrite option to command uploading results to azure blob storage.
1 parent da10dc2 commit c47efd1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/datachannel_echo-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ jobs:
7878
uses: azure/CLI@v1
7979
with:
8080
inlineScript: |
81-
az storage blob upload --account-name webrtctestresults --container-name githubactions --name DataChannel_Echo_test_results.md --file DataChannel_Echo_test_results.md --account-key ${{ secrets.Azure_Key }}
82-
az storage blob upload --account-name webrtctestresults --container-name githubactions --name DataChannel_Echo_test_results.png --file DataChannel_Echo_test_results.png --account-key ${{ secrets.Azure_Key }}
81+
az storage blob upload --account-name webrtctestresults --container-name githubactions --name DataChannel_Echo_test_results.md --file DataChannel_Echo_test_results.md --account-key ${{ secrets.Azure_Key }} --overwrite
82+
az storage blob upload --account-name webrtctestresults --container-name githubactions --name DataChannel_Echo_test_results.png --file DataChannel_Echo_test_results.png --account-key ${{ secrets.Azure_Key }} --overwrite
8383
- name: Commit the results to the git repository
8484
if: github.event_name != 'pull_request'
8585
run: |

.github/workflows/peerconnection-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ jobs:
9898
uses: azure/CLI@v1
9999
with:
100100
inlineScript: |
101-
az storage blob upload --account-name webrtctestresults --container-name githubactions --name PeerConnection_test_results.md --file PeerConnection_test_results.md --account-key ${{ secrets.Azure_Key }}
102-
az storage blob upload --account-name webrtctestresults --container-name githubactions --name PeerConnection_test_results.png --file PeerConnection_test_results.png --account-key ${{ secrets.Azure_Key }}
101+
az storage blob upload --account-name webrtctestresults --container-name githubactions --name PeerConnection_test_results.md --file PeerConnection_test_results.md --account-key ${{ secrets.Azure_Key }} --overwrite
102+
az storage blob upload --account-name webrtctestresults --container-name githubactions --name PeerConnection_test_results.png --file PeerConnection_test_results.png --account-key ${{ secrets.Azure_Key }} --overwrite
103103
- name: Commit the results to the git repository
104104
if: github.event_name != 'pull_request'
105105
run: |

0 commit comments

Comments
 (0)