Skip to content

Commit

Permalink
update publish workflow yet again
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-jones committed Nov 22, 2024
1 parent 5cb5142 commit 42066d7
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,35 @@ on:
types: [created]

jobs:
pypi-publish2:
name: Publish release to Real PyPI
# pypi-publish:
# name: Publish release to Real PyPI
# runs-on: ubuntu-latest
# environment:
# name: pypi
# url: https://pypi.org/p/coarnotify
# permissions:
# id-token: write
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: "3.x"
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install setuptools wheel
# - name: Build package
# run: python -m build
# - name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1

test-pypi-publish:
name: Publish release to Test PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/coarnotify
name: testpypi
url: https://test.pypi.org/p/coarnotify
permissions:
id-token: write
steps:
Expand Down

0 comments on commit 42066d7

Please sign in to comment.