Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sorayuki authored Jan 24, 2021
1 parent 0b2b92c commit 84b220d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
release:
types: [ created ]


# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -31,3 +34,14 @@ jobs:
with:
name: obs-multi-rtmp
path: dist
release:
runs-on: windows-latest
needs: [ build ]
steps:
- name: Release
uses: fnkr/github-action-ghr@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GHR_COMPRESS: zip
GHR_PATH: dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 84b220d

Please sign in to comment.