|
21 | 21 | # The type of runner that the job will run on |
22 | 22 | strategy: |
23 | 23 | matrix: |
24 | | - python-versions: ['3.7', '3.8',' 3.9', '3.10'] |
| 24 | + python-versions: ['3.7', '3.8', '3.9', '3.10'] |
25 | 25 | # github action doesn't goes well with windows due to docker support |
26 | 26 | # github action doesn't goes well with macos due to `no docker command` |
27 | 27 | #os: [ubuntu-20.04, windows-latest, macos-latest] |
@@ -60,13 +60,14 @@ jobs: |
60 | 60 | python -m pip install --upgrade pip |
61 | 61 | pip install poetry tox tox-gh-actions |
62 | 62 |
|
63 | | - # declare env.package_version_full, env.package_name, env.package_version, env.repo_owner, env.repo_name, so you may use it in web hooks. |
| 63 | + # declare env.package_version, env.package_name, env.package_version, env.repo_owner, env.repo_name, so you may use it in web hooks. |
64 | 64 | - name: Declare variables for convenient use |
65 | 65 | run: | |
66 | 66 | echo "package_version=`poetry version --short`.DEV.$GITHUB_RUN_NUMBER" >> $GITHUB_ENV |
67 | | - echo "package_name=`poetry version |awk '{print $1'}`" >> $GITHUB_ENV |
| 67 | + echo "package_name=`poetry version | awk '{print $1}'`" >> $GITHUB_ENV |
68 | 68 | echo "repo_owner=${GITHUB_REPOSITORY%/*}" >> $GITHUB_ENV |
69 | 69 | echo "repo_name=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV |
| 70 | + shell: bash |
70 | 71 |
|
71 | 72 | - name: build documentation |
72 | 73 | run: | |
|
0 commit comments