Allow for forcing a version during test
This commit is contained in:
parent
7466fbb205
commit
8545c5e6da
1 changed files with 6 additions and 1 deletions
5
.github/workflows/build-test-pypi.yml
vendored
5
.github/workflows/build-test-pypi.yml
vendored
|
@ -2,9 +2,13 @@ name: Upload to Test PyPI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
overrideVersion:
|
||||||
|
description: Manually force a version
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CIBW_BUILD_VERBOSITY: 1
|
CIBW_BUILD_VERBOSITY: 1
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ github.event.inputs.overrideVersion }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
make_sdist:
|
make_sdist:
|
||||||
|
@ -76,6 +80,7 @@ jobs:
|
||||||
uses: joerick/cibuildwheel@v1.10.0
|
uses: joerick/cibuildwheel@v1.10.0
|
||||||
env:
|
env:
|
||||||
CIBW_BUILD: cp${{ steps.pythonversion.outputs.value }}-${{ matrix.platform_id }}
|
CIBW_BUILD: cp${{ steps.pythonversion.outputs.value }}-${{ matrix.platform_id }}
|
||||||
|
CIBW_ENVIRONMENT: "SETUPTOOLS_SCM_PRETEND_VERSION=${{ github.event.inputs.overrideVersion }}"
|
||||||
- name: Upload wheels to artifact container
|
- name: Upload wheels to artifact container
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue