diff --git a/.github/workflows/build-test-and-publish.yml b/.github/workflows/build-test-and-publish.yml index dd32fca..50cdb28 100644 --- a/.github/workflows/build-test-and-publish.yml +++ b/.github/workflows/build-test-and-publish.yml @@ -13,6 +13,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: Write SNK file + shell: pwsh + run: | + $env:SNK_BASE64 -split ' ' -join "`n" | Out-File -Encoding utf8 ./SharpToken/keypair.snk.base64.txt + certutil -decode ./SharpToken/keypair.snk.base64.txt ./SharpToken/keypair.snk + env: + SNK_BASE64: ${{ secrets.SNK_BASE64 }} + - name: Setup .NET uses: actions/setup-dotnet@v1 with: