From d3767ceb1f15e9fdd9a42d53740bbecbcc681b20 Mon Sep 17 00:00:00 2001 From: sburman Date: Tue, 9 Jan 2024 16:36:48 +0530 Subject: [PATCH 1/2] test fix --- .github/workflows/test-and-deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 3039b9a99..3548453bf 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -43,9 +43,9 @@ jobs: TWILIO_FROM_NUMBER: ${{ secrets.TWILIO_FROM_NUMBER }} TWILIO_TO_NUMBER: ${{ secrets.TWILIO_TO_NUMBER }} run: | - dotnet tool install --global dotnet-sonarscanner + dotnet tool install --global dotnet-sonarscanner --version 5.5.3 make cover - + import-certificate: runs-on: windows-latest steps: @@ -56,14 +56,14 @@ jobs: New-Item -ItemType directory -Path certificate Set-Content -Path certificate\certificate.txt -Value '${{ secrets.CODE_SIGNING_CERTIFICATE }}' certutil -decode certificate\certificate.txt certificate\certificate.pfx - + - name: Upload Artifact uses: actions/upload-artifact@v3 with: name: certificate.pfx path: certificate\certificate.pfx retention-days: 1 - + deploy: name: Deploy if: success() && github.ref_type == 'tag' @@ -74,7 +74,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - + - name: Download code signing certificate uses: actions/download-artifact@v3 with: From 0e3d8d40221be1788f37ba54555e10c4bdfafd5b Mon Sep 17 00:00:00 2001 From: Shubham Date: Thu, 11 Jan 2024 13:46:01 +0530 Subject: [PATCH 2/2] Update test-and-deploy.yml --- .github/workflows/test-and-deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 3548453bf..9393f19b2 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -64,6 +64,7 @@ jobs: path: certificate\certificate.pfx retention-days: 1 + deploy: name: Deploy if: success() && github.ref_type == 'tag'