Skip to content

Commit

Permalink
fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdboom committed Jun 14, 2023
1 parent 1b41363 commit 177d2b7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ jobs:
with:
python-version: "3.10"
- name: Install dependencies
run: pip install -U pdm
run: |
python -m pip install -U pip
pip install -U pdm
- name: Build
run: |
rm -rf dist/*
pdm build
- name: Release to PyPI
uses: pypa/gh-action-pypi-publish@release/${GITHUB_REF_NAME}
uses: pypa/gh-action-pypi-publish@release/${{ GITHUB_REF_NAME }}
with:
password: ${{ secrets.PYPI_PWD }}
verbose: true
Expand All @@ -36,7 +38,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -U mike
pip install -e .[dev]
- name: Update documentation
run: |
echo "Deploying documentation for release ATOM ${GITHUB_REF_NAME::-2}"
Expand Down

0 comments on commit 177d2b7

Please sign in to comment.