Skip to content

Commit

Permalink
Update main.workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis authored Aug 19, 2019
1 parent 5ccda0a commit dd5b3c5
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
workflow "Release to PyPi" {
on = "release"
resolves = ["upload"]
}

action "tag-filter" {
uses = "actions/bin/filter@master"
args = "tag"
}

action "check" {
uses = "ross/python-actions/setup-py/3.7@master"
args = "check"
needs = "tag-filter"
}

action "sdist" {
uses = "ross/python-actions/setup-py/3.7@master"
args = "sdist"
needs = "check"
}

action "upload" {
uses = "ross/python-actions/twine@master"
args = "upload ./dist/sunpy-sphinx-theme-*.tar.gz"
secrets = ["TWINE_PASSWORD", "TWINE_USERNAME"]
needs = "sdist"
}

0 comments on commit dd5b3c5

Please sign in to comment.