run on main only

This commit is contained in:
Yury Semikhatsky 2024-12-20 17:27:02 -08:00
parent 3758eda642
commit b85af000c4

View file

@ -53,6 +53,7 @@ jobs:
retention-days: 7 retention-days: 7
- name: Azure Login - name: Azure Login
if: ${{ !cancelled() && github.ref == 'refs/heads/main' }}
uses: azure/login@v2 uses: azure/login@v2
with: with:
client-id: ${{ secrets.AZURE_BLOB_REPORTS_CLIENT_ID }} client-id: ${{ secrets.AZURE_BLOB_REPORTS_CLIENT_ID }}
@ -60,6 +61,7 @@ jobs:
subscription-id: ${{ secrets.AZURE_BLOB_REPORTS_SUBSCRIPTION_ID }} subscription-id: ${{ secrets.AZURE_BLOB_REPORTS_SUBSCRIPTION_ID }}
- name: Upload report.csv to Azure - name: Upload report.csv to Azure
if: ${{ !cancelled() && github.ref == 'refs/heads/main' }}
run: | run: |
REPORT_DIR='bidi-reports' REPORT_DIR='bidi-reports'
azcopy cp "./test-results/report.csv" "https://mspwblobreport.blob.core.windows.net/\$web/$REPORT_DIR/${{ matrix.channel }}.csv" azcopy cp "./test-results/report.csv" "https://mspwblobreport.blob.core.windows.net/\$web/$REPORT_DIR/${{ matrix.channel }}.csv"