@@ -41,49 +41,49 @@ jobs:
4141 token : ${{ secrets.CODECOV_TOKEN }}
4242 files : ./coverage.xml
4343
44- pre_build :
45- if : github.actor != 'actions[bot]'
46- runs-on : ubuntu-latest
47- needs : test
48- steps :
49- - name : Checkout code
50- uses : actions/checkout@v2
51- with :
52- ref : ${{ github.head_ref }}
44+ # pre_build:
45+ # if: github.actor != 'actions[bot]'
46+ # runs-on: ubuntu-latest
47+ # needs: test
48+ # steps:
49+ # - name: Checkout code
50+ # uses: actions/checkout@v2
51+ # with:
52+ # ref: ${{ github.head_ref }}
5353
54- - name : Set up Python
55- uses : actions/setup-python@v2
56- with :
57- python-version : ' 3.9'
54+ # - name: Set up Python
55+ # uses: actions/setup-python@v2
56+ # with:
57+ # python-version: '3.9'
5858
59- - name : Poetry Setup
60- run : |
61- pip install --upgrade pip
62- curl -sSL https://install.python-poetry.org | python3 -
63- poetry config virtualenvs.create false
64- poetry install
59+ # - name: Poetry Setup
60+ # run: |
61+ # pip install --upgrade pip
62+ # curl -sSL https://install.python-poetry.org | python3 -
63+ # poetry config virtualenvs.create false
64+ # poetry install
6565
66- - name : Generate and push Tag
67- run : |
68- git config --global user.name 'GitHub Actions'
69- git config --global user.email 'actions@github.com'
70- git push
71- git tag -f $(poetry version -s)
72- git push -f origin --tags
66+ # - name: Generate and push Tag
67+ # run: |
68+ # git config --global user.name 'GitHub Actions'
69+ # git config --global user.email 'actions@github.com'
70+ # git push
71+ # git tag -f $(poetry version -s)
72+ # git push -f origin --tags
7373
74- - name : Build package
75- run : poetry build
74+ # - name: Build package
75+ # run: poetry build
7676
77- - name : Repository Setup
78- run : |
79- poetry config repositories.test-pypi https://test.pypi.org/legacy/
80- # poetry config pypi-token.test-pypi ${{ secrets.TEST_PYPI_TOKEN }}
81- # poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
77+ # - name: Repository Setup
78+ # run: |
79+ # poetry config repositories.test-pypi https://test.pypi.org/legacy/
80+ # # poetry config pypi-token.test-pypi ${{ secrets.TEST_PYPI_TOKEN }}
81+ # # poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
8282
83- - name : Publish package to TestPyPI
84- env :
85- POETRY_PYPI_TOKEN_PYPI : ${{ secrets.TEST_PYPI_TOKEN }}
86- run : poetry publish -r test-pypi -u __token__ --password $POETRY_PYPI_TOKEN_PYPI
83+ # - name: Publish package to TestPyPI
84+ # env:
85+ # POETRY_PYPI_TOKEN_PYPI: ${{ secrets.TEST_PYPI_TOKEN }}
86+ # run: poetry publish -r test-pypi -u __token__ --password $POETRY_PYPI_TOKEN_PYPI
8787
8888 environment :
8989 name : Development
0 commit comments