From 7c351379fc534fb2a17cac3fe5f574786f82eef6 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Fri, 15 Sep 2023 15:17:40 -0400 Subject: SL-19242: Retrieve and decode Windows signing cert, pass to action. --- .github/workflows/build.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b1dbc08011..d04e105443 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -267,8 +267,18 @@ 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 + with: + certificate: .cert/authenticode-cert.pfx sign-and-package-mac: needs: build -- cgit v1.2.3