Skip to content

Commit

Permalink
Make package.yml workflow only run on tagged commits
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Mar 27, 2021
1 parent 7fd6558 commit 0d0aa74
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Package

on:
- push
- pull_request
push:
tags:
- 'v2.*'

jobs:

Expand Down Expand Up @@ -97,7 +98,7 @@ jobs:
with:
name: dist
path: dist
- name: Install source distribution
- name: Install wheel distribution
run: python -m pip install dist/fs-*.whl
- name: Remove source code
run: rm -rvd fs
Expand Down

0 comments on commit 0d0aa74

Please sign in to comment.