Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
add condition sp PR event doesn't trigger release
  • Loading branch information
01micko authored Aug 1, 2021
1 parent c03f9be commit 479fa6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- name: Build
run: ./puppy.sh
- name: Create Release
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
id: create_release
uses: actions/create-release@v1
env:
Expand All @@ -39,6 +40,7 @@ jobs:
draft: false
prerelease: false
- name: Upload Release Asset
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
Expand All @@ -49,6 +51,7 @@ jobs:
asset_name: puppy_flat_icons.tar.xz
asset_content_type: application/x-xz-compressed-tar
- name: Upload Release Asset 1
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
id: upload-release-asset-1
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 479fa6b

Please sign in to comment.