diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ced9cc..2e2fa57 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ on: push: workflow_dispatch: null -name: Create Release +name: CI jobs: lint: @@ -43,10 +43,9 @@ jobs: run: | pytest --version pytest - release: + debug-release: name: Create Release runs-on: ubuntu-latest - if: ${{ startsWith(github.ref, 'refs/tags/v') }} environment: release needs: [lint, test] permissions: @@ -56,7 +55,26 @@ jobs: with: name: dist path: dist - - name: Publish to PyPi - uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://test.pypi.org/legacy/-publish@release/v1 + - run: | + find . + #- name: Publish to PyPi + # uses: pypa/gh-action-pypi-publish@release/v1 + # with: + # repository-url: https://test.pypi.org/legacy/-publish@release/v1 + # release: + # name: Create Release + # runs-on: ubuntu-latest + # if: ${{ startsWith(github.ref, 'refs/tags/v') }} + # environment: release + # needs: [lint, test] + # permissions: + # id-token: write + # steps: + # - uses: actions/download-artifact@v4 + # with: + # name: dist + # path: dist + # - name: Publish to PyPi + # uses: pypa/gh-action-pypi-publish@release/v1 + # with: + # repository-url: https://test.pypi.org/legacy/-publish@release/v1