|
25 | 25 | # - { name: aarch64 Linux musl, target: aarch64-unknown-linux-musl, runner: arm-runner } |
26 | 26 | - { name: aarch64 macOS, target: aarch64-apple-darwin, runner: macos-latest } |
27 | 27 | - { name: x86_64 macOS, target: x86_64-apple-darwin, runner: macos-latest } |
28 | | - - { name: x86_64 Windows, target: x86_64-pc-windows-msvc, runner: windows-latest } |
| 28 | + - { name: x86_64 Windows, target: x86_64-pc-windows-msvc, runner: spacetimedb-windows-runner } |
29 | 29 |
|
30 | 30 | name: Build CLI for ${{ matrix.name }} |
31 | 31 | runs-on: ${{ matrix.runner }} |
@@ -69,16 +69,18 @@ jobs: |
69 | 69 | - name: Decode DigiCert client auth certificate |
70 | 70 | if: ${{ runner.os == 'Windows' && startsWith(github.ref, 'refs/tags/') }} |
71 | 71 | shell: bash |
| 72 | + env: |
| 73 | + SM_CLIENT_CERT_FILE_B64: ${{ secrets.SM_CLIENT_CERT_FILE_B64 }} |
72 | 74 | run: | |
73 | | - echo "${{ secrets.SM_CLIENT_CERT_FILE_B64 }}" | base64 --decode > /d/Certificate_pkcs12.p12 |
| 75 | + echo "$SM_CLIENT_CERT_FILE_B64" | base64 --decode > "$RUNNER_TEMP/Certificate_pkcs12.p12" |
74 | 76 |
|
75 | 77 | - name: Setup DigiCert Software Trust Manager |
76 | 78 | if: ${{ runner.os == 'Windows' && startsWith(github.ref, 'refs/tags/') }} |
77 | 79 | uses: digicert/code-signing-software-trust-action@v1 |
78 | 80 | env: |
79 | 81 | SM_HOST: ${{ vars.SM_HOST }} |
80 | 82 | SM_API_KEY: ${{ secrets.SM_API_KEY }} |
81 | | - SM_CLIENT_CERT_FILE: D:\Certificate_pkcs12.p12 |
| 83 | + SM_CLIENT_CERT_FILE: ${{ runner.temp }}\Certificate_pkcs12.p12 |
82 | 84 | SM_CLIENT_CERT_PASSWORD: ${{ secrets.SM_CLIENT_CERT_PASSWORD }} |
83 | 85 |
|
84 | 86 | - name: Compile |
|
91 | 93 | env: |
92 | 94 | SM_HOST: ${{ vars.SM_HOST }} |
93 | 95 | SM_API_KEY: ${{ secrets.SM_API_KEY }} |
94 | | - SM_CLIENT_CERT_FILE: D:\Certificate_pkcs12.p12 |
| 96 | + SM_CLIENT_CERT_FILE: ${{ runner.temp }}\Certificate_pkcs12.p12 |
95 | 97 | SM_CLIENT_CERT_PASSWORD: ${{ secrets.SM_CLIENT_CERT_PASSWORD }} |
96 | 98 | DIGICERT_KEYPAIR_ALIAS: ${{ secrets.DIGICERT_KEYPAIR_ALIAS }} |
97 | 99 | run: | |
|
0 commit comments