File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 1717 steps :
1818 - uses : actions/checkout@v4
1919 - name : Install dependencies
20- run : python3 -m pip install --upgrade pip build setuptools wheel twine
20+ run : python3 -m pip install --upgrade pip build setuptools wheel
2121 - name : Build pip package
2222 run : python3 -m build
2323 - name : Authenticate GitHub workflow to AWS
3030 github_token="$(aws secretsmanager get-secret-value --secret-id RELEASE_CI_ACCESS_TOKEN | jq -r '.SecretString')"
3131 echo "::add-mask::$github_token"
3232 echo "GITHUB_TOKEN=$github_token" >> $GITHUB_ENV
33- twine_password="$(aws secretsmanager get-secret-value --secret-id PYPI_ACCESS_TOKEN | jq -r '.SecretString')"
34- echo "::add-mask::$twine_password"
35- echo "TWINE_PASSWORD=$twine_password" >> $GITHUB_ENV
3633 - name : set asset path and name
3734 id : get_package_name
3835 run : |
4138 uses : softprops/action-gh-release@v2
4239 with :
4340 files : dist/${{ steps.get_package_name.outputs.package_name }}
44- - name : Upload to PyPi
45- env :
46- TWINE_USERNAME : __token__
47- run : python3 -m twine upload dist/*
41+ - name : Publish package distributions to PyPI
42+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments