update build process to prevent running release unnecessarily

This commit is contained in:
Corey Butler
2024-12-31 20:59:37 -06:00
parent 83a18bb498
commit c66de0b31e
2 changed files with 3 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ jobs:
build:
runs-on: windows-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
id-token: write
contents: write

View File

@@ -9,6 +9,7 @@ on:
jobs:
scan:
if: ${{ github.event.workflow_run.conclusion }} == 'success'
runs-on: ubuntu-latest
steps: