diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78bc6444..5fa52dec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,13 @@ jobs: run: dotnet restore - name: Decode certificate run: echo -n $(echo ${{ secrets.ENCODED_SMOKE_TEST_CERTIFICATE }}) | base64 -d > $(echo ${GITHUB_WORKSPACE})/Bring_Digital_Signature_Key_Encipherment_Data_Encipherment.p12 + - name: Generate checksums + uses: Solratic/checksum-action@v1 + with: + pattern: "**/*.p12" + suffix: "checksum" + - name: echo checksum + run: cat $(echo ${GITHUB_WORKSPACE})/Bring_Digital_Signature_Key_Encipherment_Data_Encipherment.p12.checksum - name: Set certificate path run: dotnet user-secrets set Certificate:Path:Absolute $(echo ${GITHUB_WORKSPACE})/Bring_Digital_Signature_Key_Encipherment_Data_Encipherment.p12 --project Digipost.Signature.Api.Client.Core - name: Set certificate password