Skip to content

Commit

Permalink
only create release on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
NotZoeyDev committed Mar 9, 2022
1 parent e4ac3cf commit bf41f08
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Create release
on: [push, pull_request]
on:
push:
tags:
- '*'
pull_request:
tags:
- '*'
jobs:
build:
name: Build
Expand Down Expand Up @@ -37,7 +43,7 @@ jobs:
- name: Create release
uses: softprops/action-gh-release@v1
with:
tag_name: release-${{ github.sha }}
tag_name: release-${{ github.ref_name }}
files: |
build/patcher.win-amd64.exe
build/patcher.mac-amd64
Expand Down

0 comments on commit bf41f08

Please sign in to comment.