Skip to content

Commit

Permalink
Only run package workflow on master.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Apr 7, 2022
1 parent b94151b commit c9193ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name: Package
on:
push:
branches:
- master
defaults:
run:
shell: bash
Expand All @@ -11,7 +13,7 @@ env:
DOTNET_NOLOGO: true
jobs:
package:
if: github.repository == 'vezel-dev/zig-sdk' && github.ref == 'refs/heads/master'
if: github.repository == 'vezel-dev/zig-sdk'
runs-on: ubuntu-latest
steps:
- name: Clone repository
Expand Down

0 comments on commit c9193ab

Please sign in to comment.