Skip to content

Commit

Permalink
revert publish change
Browse files Browse the repository at this point in the history
  • Loading branch information
dmulcahey authored and TheJulianJES committed Apr 11, 2024
1 parent 69ee94c commit a7dc9da
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ on:

secrets:
PYPI_TOKEN:
required: false
required: true

jobs:
build-and-publish:
name: Build and publish distributions to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ inputs.PYTHON_VERSION_DEFAULT }}
uses: actions/setup-python@v4
with:
python-version: ${{ inputs.PYTHON_VERSION_DEFAULT }}
- name: Install wheel
run: >-
pip install wheel build
- name: Build wheel
run: >-
python3 -m build
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ inputs.PYTHON_VERSION_DEFAULT }}
uses: actions/setup-python@v4
with:
python-version: ${{ inputs.PYTHON_VERSION_DEFAULT }}
- name: Install wheel
run: >-
pip install wheel build
- name: Build wheel
run: >-
python3 -m build
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit a7dc9da

Please sign in to comment.