Skip to content

Commit

Permalink
Merge pull request #23 from garethjns/update-publish-action
Browse files Browse the repository at this point in the history
Update publish actions
  • Loading branch information
garethjns authored Nov 24, 2024
2 parents fbb59d3 + 8fecdfb commit aa50377
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: garethjns/social-distancing-sim
tags: 0.10.1,latest
file: gradio.dockerfile
tags: 0.11.0,latest
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.x"
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install build
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist bdist_wheel
python -m build --wheel --sdist
twine upload dist/*

0 comments on commit aa50377

Please sign in to comment.