File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 3838
3939 release :
4040 name : Release
41+ needs : build
4142 uses : softprops/action-gh-release@v2
4243 with :
4344 # Use GH feature to populate the changelog automatically
@@ -61,11 +62,12 @@ jobs:
6162 name : Publish runfiles to PyPI
6263 needs : publish_bcr
6364 runs-on : ubuntu-latest
64- if : github.event_name == 'push' || github.event.inputs.publish_to_pypi
65- env :
66- # This special value tells pypi that the user identity is supplied within the token
67- TWINE_USERNAME : __token__
68- # Note, the PYPI_API_TOKEN is for the rules-python pypi user, added by @rickylev on
69- # https://github.com/bazel-contrib/rules_python/settings/secrets/actions
70- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
71- run : bazel run --stamp --embed_label=${{ github.ref_name }} //python/runfiles:wheel.publish
65+ steps :
66+ - if : github.event_name == 'push' || github.event.inputs.publish_to_pypi
67+ env :
68+ # This special value tells pypi that the user identity is supplied within the token
69+ TWINE_USERNAME : __token__
70+ # Note, the PYPI_API_TOKEN is for the rules-python pypi user, added by @rickylev on
71+ # https://github.com/bazel-contrib/rules_python/settings/secrets/actions
72+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
73+ run : bazel run --stamp --embed_label=${{ github.ref_name }} //python/runfiles:wheel.publish
You can’t perform that action at this time.
0 commit comments