From c47efd149ad266b12335f31adce109a422bcd54e Mon Sep 17 00:00:00 2001 From: Aaron Clauson Date: Sun, 14 Aug 2022 16:38:36 +0100 Subject: [PATCH] Added overwrite option to command uploading results to azure blob storage. --- .github/workflows/datachannel_echo-test.yml | 4 ++-- .github/workflows/peerconnection-test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/datachannel_echo-test.yml b/.github/workflows/datachannel_echo-test.yml index fce62d4..4eff59b 100644 --- a/.github/workflows/datachannel_echo-test.yml +++ b/.github/workflows/datachannel_echo-test.yml @@ -78,8 +78,8 @@ jobs: uses: azure/CLI@v1 with: inlineScript: | - 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 }} - 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 }} + 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 + 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 - name: Commit the results to the git repository if: github.event_name != 'pull_request' run: | diff --git a/.github/workflows/peerconnection-test.yml b/.github/workflows/peerconnection-test.yml index 18209e4..5749bf3 100644 --- a/.github/workflows/peerconnection-test.yml +++ b/.github/workflows/peerconnection-test.yml @@ -98,8 +98,8 @@ jobs: uses: azure/CLI@v1 with: inlineScript: | - 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 }} - 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 }} + 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 + 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 - name: Commit the results to the git repository if: github.event_name != 'pull_request' run: |