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

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

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