Update README.md

This commit is contained in:
Frost Ming 2021-03-19 22:25:18 +08:00 committed by GitHub
parent 1c9c7664fc
commit df8fd77d87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,11 @@
A GitHub Action that installs pdm properly for all Python versions A GitHub Action that installs pdm properly for all Python versions
## Why do I need this action?
As you know, PDM requires Python 3.7 and higher to install the package, while till now(March 2021) Python 3.6 is still widely used by many libraries. The version requirement will prevent potential users from adopting PDM. However, it is a misunderstanding, PDM CAN run projects using Python 3.6 or even Python 2!
But it is still not obvious and it is a pain for developers to properly build their CI workflows. So I made `pdm-project/setup-pdm` to solve the problem. It is PDM-for-CI done right!
## Usage ## Usage
Include the action in your workflow yaml file with the following arguments: Include the action in your workflow yaml file with the following arguments: