Build package only on direct-push to master branch

This commit is contained in:
jeefo 2020-11-23 13:21:57 +03:00 committed by GitHub
commit 19a015dee1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,7 @@ jobs:
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: |
meson setup dist
ninja -C dist package