summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yaml
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-10-18 17:41:52 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-10-18 17:41:52 -0400
commitce791fdc595c02afc7db25fc0a30052024a385d7 (patch)
tree447d382e51f5cbc75c696c3a04b427f3cc024c2d /.github/workflows/build.yaml
parent651353560bfe23b6423ecf7690d86645a71c0cbc (diff)
parentf6d872a027834bc83ee51d488336de933b703f74 (diff)
PIE-1057: Merge branch 'actions-azure' into actions
for new Windows code signing mechanism.
Diffstat (limited to '.github/workflows/build.yaml')
-rw-r--r--.github/workflows/build.yaml16
1 files changed, 6 insertions, 10 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 2def307b94..daa647f257 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -253,18 +253,14 @@ jobs:
needs: build
runs-on: windows
steps:
- - name: Decode certificate file
- shell: bash
- env:
- SIGNING_CERT_WINDOWS: ${{ secrets.SIGNING_CERT_WINDOWS }}
- run: |
- mkdir -p .cert
- echo "$SIGNING_CERT_WINDOWS" | base64 --decode > .cert/authenticode-cert.pfx
-
- name: Sign and package Windows viewer
- uses: secondlife/viewer-build-util/sign-pkg-windows@main
+ uses: secondlife/viewer-build-util/sign-pkg-windows@azure
with:
- certificate: .cert/authenticode-cert.pfx
+ vault_uri: "${{ secrets.AZURE_KEY_VAULT_URI }}"
+ cert_name: "${{ secrets.AZURE_CERT_NAME }}"
+ client_id: "${{ secrets.AZURE_CLIENT_ID }}"
+ client_secret: "${{ secrets.AZURE_CLIENT_SECRET }}"
+ tenant_id: "${{ secrets.AZURE_TENANT_ID }}"
sign-and-package-mac:
needs: build