Fix release workflow

This commit is contained in:
2023-03-27 11:49:44 +02:00
parent f7a2dc2d41
commit e65f1f6dfd

View File

@@ -8,9 +8,6 @@ on:
permissions: permissions:
contents: write contents: write
env:
PYTHON_VERSION: 3.11
jobs: jobs:
test: test:
strategy: strategy:
@@ -18,7 +15,7 @@ jobs:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
uses: ./.github/workflows/test.yml uses: ./.github/workflows/test.yml
with: with:
python-version: $PYTHON_VERSION python-version: ${{ vars.PYTHON_VERSION}}
os: ${{ matrix.os }} os: ${{ matrix.os }}
build: build:
@@ -30,7 +27,7 @@ jobs:
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
name: Setup Python name: Setup Python
with: with:
python-version: $PYTHON_VERSION python-version: ${{ vars.PYTHON_VERSION}}
- name: Install deps - name: Install deps
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
@@ -73,7 +70,7 @@ jobs:
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
name: Setup Python name: Setup Python
with: with:
python-version: $PYTHON_VERSION python-version: ${{ vars.PYTHON_VERSION}}
- name: Install deps - name: Install deps
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip