File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 python -m pip install --upgrade pip
2727 python -m pip install poetry poetry-dynamic-versioning
2828
29- - name : Setup TESTPYPI repo
30- run : |
31- poetry config repositories.testpypi https://test.pypi.org/legacy/
29+ # - name: Setup TESTPYPI repo
30+ # run: |
31+ # poetry config repositories.testpypi https://test.pypi.org/legacy/
3232
3333 - name : Build package
3434 run : |
@@ -37,15 +37,18 @@ jobs:
3737 # ###############################
3838 # TEMPORARY TEST PYPI STEPS #
3939 # ###############################
40- - name : Mint token for Testpypi
41- id : mint
42- uses : tschm/token-mint-action@v1.0.2
40+ # - name: Mint token for Testpypi
41+ # id: mint
42+ # uses: tschm/token-mint-action@v1.0.2
43+ # with:
44+ # audience: testpypi
45+ # - name: Publish the package to Testpypi
46+ # run: |
47+ # poetry publish -r testpypi -u __token__ -p '${{ steps.mint.outputs.api-token }}'
48+ - name : Publish package distributions to TestPyPI
49+ uses : pypa/gh-action-pypi-publish@release/v1
4350 with :
44- audience : testpypi
45- - name : Publish the package to Testpypi
46- run : |
47- poetry publish -r testpypi -u __token__ -p '${{ steps.mint.outputs.api-token }}'
48-
51+ repository-url : https://test.pypi.org/legacy/
4952 # ####################################
5053 # DISABLE TEST STEPS AND UNCOMMENT #
5154 # THE FOLLOWING STEPS WHEN READY #
You can’t perform that action at this time.
0 commit comments