mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Quote version numbers in GitHub Actions workflow
Otherwise, YAML treats `python: 3.10` as a float, yielding Python 3.1.
This commit is contained in:
parent
735d93c7b6
commit
30597b70f0
1 changed files with 9 additions and 9 deletions
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
|
|
@ -16,17 +16,17 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
python: 3.6
|
python: "3.6"
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
python: 3.7
|
python: "3.7"
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
python: 3.8
|
python: "3.8"
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
python: 3.9
|
python: "3.9"
|
||||||
- os: macos
|
- os: macos
|
||||||
python: 3.7
|
python: "3.7"
|
||||||
- os: windows
|
- os: windows
|
||||||
python: 3.7
|
python: "3.7"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
@ -86,7 +86,7 @@ jobs:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.7
|
python-version: "3.7"
|
||||||
- name: Set pip cache (Linux)
|
- name: Set pip cache (Linux)
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
if: startsWith(runner.os, 'Linux')
|
if: startsWith(runner.os, 'Linux')
|
||||||
|
|
@ -110,7 +110,7 @@ jobs:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.7
|
python-version: "3.7"
|
||||||
- name: Set pip cache (Linux)
|
- name: Set pip cache (Linux)
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
if: startsWith(runner.os, 'Linux')
|
if: startsWith(runner.os, 'Linux')
|
||||||
|
|
@ -136,7 +136,7 @@ jobs:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.7
|
python-version: "3.7"
|
||||||
- name: Check release
|
- name: Check release
|
||||||
id: check_release
|
id: check_release
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue