Skip to content

Commit

Permalink
Only run releases workflow on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoldmopar committed Jul 31, 2021
1 parent 2e573c1 commit 95aceb0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Releases

on: [push]
on:
push:
tags:
- '*'

jobs:
release:
Expand Down Expand Up @@ -34,12 +37,6 @@ jobs:
shell: bash
run: pyinstaller --onefile epjson_transition.spec

- name: Upload
uses: actions/upload-artifact@v2
with:
name: EpJSON_Transition-${{ matrix.os }}
path: dist/EpJSON_Transition*

- name: Upload
uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit 95aceb0

Please sign in to comment.