diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index f47b7e7..8825b0c 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -9,14 +9,24 @@ on: jobs: build_package: uses: ./.github/workflows/_build_package.yml - # publish_package: - # needs: - # - build_package - # uses: ./.github/workflows/_publish_package.yml # publish_package_test: # needs: # - build_package # uses: ./.github/workflows/_publish_package_test.yml + publish_package: + needs: + - build_package + runs-on: ubuntu-latest + environment: release + permissions: + id-token: write + steps: + - uses: actions/download-artifact@v4 + with: + name: artifact + path: dist + - uses: pypa/gh-action-pypi-publish@release/v1 + merge_into_release: uses: ./.github/workflows/_merge_into_release.yml secrets: