Skip to content

Commit

Permalink
restore pypi path directive
Browse files Browse the repository at this point in the history
  • Loading branch information
ngardiner committed Mar 12, 2024
1 parent 218bc00 commit eb30c88
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/docker+pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,21 +211,18 @@ jobs:
steps:
- name: Check out Repository
uses: actions/checkout@v3
with:
path: ./pypi-dev

- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.7

- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
- name: Install pypa/build and build a binary wheel and a source tarball
run: >-
python -m pip install --upgrade pip
python -m pip install build --user
python -m build --sdist --wheel --outdir dist/ .
- name: Publish distribution package to Test PyPI
Expand All @@ -234,11 +231,13 @@ jobs:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
skip-existing: true
repository-url: https://test.pypi.org/legacy/
path: ./pypi-dev

- name: Publish distribution package to Production PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
path: ./pypi-dev

docker-latest:
name: Create docker-latest Docker Image from current head
Expand Down

0 comments on commit eb30c88

Please sign in to comment.