Skip to content

Commit

Permalink
Merge pull request #146 from SynBioDex/CarolusVitalis-patch-1
Browse files Browse the repository at this point in the history
Update python-publish.yml
  • Loading branch information
CarolusVitalis authored Feb 6, 2025
2 parents 46f32d9 + de72f21 commit 21a60fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
Expand All @@ -27,10 +27,10 @@ jobs:
sed -i "s/version=.*,/version='${{ github.event.release.tag_name }}',/g" setup.py
- name: Build and publish
env:
TWINE_USERNAME: ${{ __token__ }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
cd ./excel2sbol
cd ./excelutils
cat setup.py
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit 21a60fd

Please sign in to comment.