fix: update README

Signed-off-by: Frost Ming <me@frostming.com>
This commit is contained in:
Frost Ming 2024-01-25 15:13:53 +08:00
parent 4882716d1c
commit 1a0fea8b8e
No known key found for this signature in database
GPG Key ID: 5BFA9CB4DDA943BF

View File

@ -15,7 +15,7 @@ Include the action in your workflow yaml:
steps:
- uses: actions/checkout@v3
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
uses: pdm-project/setup-pdm@v4
# You are now able to use PDM in your workflow
- name: Install dependencies
run: pdm install
@ -30,6 +30,7 @@ This action supports the following inputs:
| Input | Default | Description |
| -------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `python-version` | `3.x` | Version range or exact version of a Python version to use, using SemVer's version range syntax. |
| `python-version-file` | `.python-version` | File containing the Python version to use. Example: .`python-version` |
| `architecture` | `x64` | The target architecture (x86, x64) of the Python interpreter. |
| `allow-python-prereleases` | `false` | Allow prerelease versions of Python to be installed. |
| `token` | `${{ github.token }}` | Used to pull python distributions from actions/python-versions. Since there's a default, this is typically not supplied by the user. |