Skip to content

Commit

Permalink
adds back condition for build job
Browse files Browse the repository at this point in the history
  • Loading branch information
dthomasngrokker committed Feb 21, 2025
1 parent b49f1b9 commit 9760a3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/snap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:

jobs:
build:
# It will run if:
# 1. The branch name contains the word 'release',
# OR
# 2. The event triggering the workflow is a 'workflow_dispatch' event. (manual run)
if: contains(github.ref_name, 'release') || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-22.04
outputs:
snap-file: ${{ steps.build-snap.outputs.snap }}
Expand Down

0 comments on commit 9760a3e

Please sign in to comment.