diff options
| author | 2023-11-16 01:48:31 +0800 | |
|---|---|---|
| committer | 2023-11-16 01:48:31 +0800 | |
| commit | 2b6c0d8b3d0efa3bc10a60f6741a60c5d624912b (patch) | |
| tree | e35bf454c83a25617330758c3fc94a40401a4cb6 /.github | |
| parent | a64de24b42ee32cc7681582b66d677f233b4f318 (diff) | |
| download | HydroRoll-2b6c0d8b3d0efa3bc10a60f6741a60c5d624912b.tar.gz HydroRoll-2b6c0d8b3d0efa3bc10a60f6741a60c5d624912b.zip | |
fix: maintain release pdm section
Diffstat (limited to '.github')
| -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 |
