Skip to content

Commit 8440041

Browse files
authored
Merge pull request #28 from braingram/add_release_ci
add release workflow
2 parents 53aa0dc + 4d24c82 commit 8440041

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: release
2+
3+
on:
4+
release:
5+
types: [released ]
6+
workflow_dispatch:
7+
8+
jobs:
9+
release:
10+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
11+
with:
12+
upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}
13+
secrets:
14+
pypi_token: ${{ secrets.PYPI_PASSWORD_ASDF_MAINTAINER }}

0 commit comments

Comments
 (0)