mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-18 13:08:54 +02:00
Update test-pypi.yml
This commit is contained in:
parent
62c30638b1
commit
3312731f7a
1 changed files with 5 additions and 6 deletions
11
.github/workflows/test-pypi.yml
vendored
11
.github/workflows/test-pypi.yml
vendored
|
|
@ -7,19 +7,18 @@ jobs:
|
|||
test_pypi:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@main
|
||||
- uses: actions/setup-python@v4
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.12.0'
|
||||
python-version: '3.x'
|
||||
architecture: 'x64'
|
||||
- run: pip3 install poetry
|
||||
- run: pip install poetry==1.1.12
|
||||
- run: >-
|
||||
poetry version patch &&
|
||||
version=$(poetry version | awk '{print $2}') &&
|
||||
poetry version $version.dev.$(date +%s)
|
||||
- run: poetry build
|
||||
- name: Publish package to TestPyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
- uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
user: __token__
|
||||
password: ${{ secrets.TEST_PYPI_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue