Skip to content
This repository was archived by the owner on Jun 7, 2021. It is now read-only.

Commit 3041739

Browse files
author
Joel Collins
committed
Updated actions
1 parent b4325a0 commit 3041739

File tree

3 files changed

+34
-72
lines changed

3 files changed

+34
-72
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
needs: test
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
with:
15+
fetch-depth: 1
16+
17+
- name: Set up Python 3.7
18+
uses: actions/setup-python@v1
19+
with:
20+
python-version: 3.7
21+
22+
- name: Install Poetry
23+
uses: dschep/[email protected]
24+
25+
- name: Set Poetry config
26+
env:
27+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
28+
run: |
29+
poetry config pypi-token.pypi "$POETRY_PYPI_TOKEN_PYPI"
30+
- name: Build with Poetry
31+
run: poetry build
32+
33+
- name: Publish with Poetry
34+
run: poetry publish

.github/workflows/release.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)