Skip to content

Commit

Permalink
Merge pull request #53 from ngrok/danielle/use-github-actions-for-bui…
Browse files Browse the repository at this point in the history
…lding-and-publishing-to-snapcraft

Updates workflow for building
  • Loading branch information
dthomasngrokker authored Jan 24, 2025
2 parents ef572b0 + d685b88 commit 238abfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/snap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on: # The event that triggers the workflow

jobs:
build:
# Only run this job if the branch name contains "release" or a commit is created on master branch and the branch name contains "release"
if: contains(github.head_ref, 'release') || github.event_name == 'push' && github.ref == 'refs/heads/master' && contains(github.head_ref, 'release')
runs-on: ubuntu-latest
outputs:
snap-file: ${{ steps.build-snap.outputs.snap }}
Expand Down

0 comments on commit 238abfb

Please sign in to comment.