Skip to content

Commit

Permalink
Run release in container
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Jan 24, 2021
1 parent 46fe1dc commit 5b918bf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:

release:
runs-on: ubuntu-latest
container:
image: python:3
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -17,6 +19,6 @@ jobs:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
pip3 install --upgrade setuptools wheel twine
python3 setup.py sdist bdist_wheel
python3 -m twine upload --non-interactive dist/*
pip install --upgrade setuptools wheel twine
python setup.py sdist bdist_wheel
twine upload --non-interactive dist/*

0 comments on commit 5b918bf

Please sign in to comment.