From 477dedffa4176018f783f6c795a2b16b376d1a3f Mon Sep 17 00:00:00 2001 From: Abraham Murciano Date: Mon, 3 Jun 2024 22:04:10 +0300 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2d701da..e0aeec8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: with: python-version: 3.7 - name: Get Poetry - uses: abatilo/actions-poetry@v2.1.3 + run: pip install poetry - name: Set Version run: poetry version $(echo ${{ github.event.release.tag_name }} | cut -d 'v' -f 2) - name: Build Package @@ -25,13 +25,5 @@ jobs: run: pip install dist/*.whl - name: Set environment variables for conda build run: echo "POETRY_VERSION=$(poetry version -s)" >> $GITHUB_ENV - - name: Build and Publish Conda Package - uses: amauryval/publish_conda_package_action@2.0.3 - with: - CondaDir: 'conda-recipe' - Channels: 'conda-forge ${{ secrets.ANACONDA_USERNAME }}' - Platforms: 'noarch' - CondaUsername: ${{ secrets.ANACONDA_USERNAME }} - CondaPassword: ${{ secrets.ANACONDA_PASSWORD }} - name: Publish Pip Package - run: poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} \ No newline at end of file + run: poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}