summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-03-05 13:36:18 -0500
committerNat Goodspeed <nat@lindenlab.com>2024-03-05 13:36:18 -0500
commit6328cb7817174765d068685f67809108eb64f2b1 (patch)
treec246cf58d24f3cfe5f71f0906a5c11c12ab526a4 /.github
parente07bf1c0a27cfb37c67c5ffdc92bb92975eabbbf (diff)
Make signing and symbol posting jobs conditional on secrets.
Specifically, when secrets aren't available (e.g. for external PRs), skip the affected steps.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 1dd2c1d5df..edb180a2d1 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -250,6 +250,7 @@ jobs:
${{ steps.build.outputs.physicstpv }}
sign-and-package-windows:
+ if: secrets.AZURE_KEY_VAULT_URI && secrets.AZURE_CERT_NAME && secrets.AZURE_CLIENT_ID && secrets.AZURE_CLIENT_SECRET && secrets.AZURE_TENANT_ID
needs: build
runs-on: windows
steps:
@@ -263,6 +264,7 @@ jobs:
tenant_id: "${{ secrets.AZURE_TENANT_ID }}"
sign-and-package-mac:
+ if: secrets.NOTARIZE_CREDS_MACOS && secrets.SIGNING_CERT_MACOS && secrets.SIGNING_CERT_MACOS_IDENTITY && secrets.SIGNING_CERT_MACOS_PASSWORD
needs: build
runs-on: macos-latest
steps:
@@ -298,6 +300,7 @@ jobs:
note_team: ${{ steps.note-creds.outputs.note_team }}
post-windows-symbols:
+ if: secrets.BUGSPLAT_USER && secrets.BUGSPLAT_PASS
needs: build
runs-on: ubuntu-latest
steps:
@@ -311,6 +314,7 @@ jobs:
version: ${{ needs.build.outputs.viewer_version }}
post-mac-symbols:
+ if: secrets.BUGSPLAT_USER && secrets.BUGSPLAT_PASS
needs: build
runs-on: ubuntu-latest
steps: