diff options
| -rw-r--r-- | .github/workflows/release.yml | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8542a3b..35aa77d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,25 +9,22 @@ on: jobs:
build:
runs-on: ubuntu-latest
-
+ env:
+ PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
+ PDM_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }}
steps:
- uses: actions/checkout@v3
- - name: Install poetry
- run: pipx install poetry
+ - name: Install pdm
+ run: pipx install pdm
shell: bash
- uses: actions/setup-python@v4
with:
python-version: "3.9"
architecture: "x64"
- cache: "poetry"
- - run: poetry install
- shell: bash
-
- - run: poetry config pypi-token.pypi "$PYPI_TOKEN"
+ cache: true
+ - run: pdm install
shell: bash
- env:
- PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
- - run: poetry publish --build
+ - run: pdm publish
shell: bash
\ No newline at end of file |
