This commit is contained in:
Peli de Halleux 2024-02-11 20:33:16 +00:00
Родитель c68f6c90ee
Коммит 86bb959509
2 изменённых файлов: 10 добавлений и 4 удалений

7
.github/workflows/build.yml поставляемый
Просмотреть файл

@ -7,15 +7,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
actions: read
contents: write
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }} # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: "x64" # optional x64 or x86. Defaults to x64 if not specified

7
.github/workflows/release.yml поставляемый
Просмотреть файл

@ -4,12 +4,15 @@ on:
- main
jobs:
build:
permissions:
actions: read
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: "3.7" # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: "x64" # optional x64 or x86. Defaults to x64 if not specified