File tree Expand file tree Collapse file tree 1 file changed +4
-32
lines changed
Expand file tree Collapse file tree 1 file changed +4
-32
lines changed Original file line number Diff line number Diff line change 8989 name : cibw-wheels-manylinux_2_28_${{ matrix.config.arch }}-wheels-upload
9090 path : ./wheelhouse/*.whl
9191
92- - name : Install Azure CLI
93- if : ${{ steps.check-version.outputs.new_commit == 'true' }}
94- run : |
95- curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
96-
97- - name : Azure login
98- if : ${{ steps.check-version.outputs.new_commit == 'true' }}
99- uses : azure/login@v2
100- with :
101- client-id : ${{ secrets.AZURE_CLIENT_ID }}
102- tenant-id : ${{ secrets.AZURE_TENANT_ID }}
103- subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
104-
105- - id : generate-token
106- name : Generate token
107- if : ${{ steps.check-version.outputs.new_commit == 'true' }}
108- run : |
109- AZ_TOKEN=$(az account get-access-token --query accessToken)
110- echo "::add-mask::$AZ_TOKEN"
111- echo "access_token=$AZ_TOKEN" >> "$GITHUB_OUTPUT"
112-
113- - name : Publish wheels to Azure DevOps
114- if : ${{ steps.check-version.outputs.new_commit == 'true' }}
115- run : |
116- python3 -m pip install twine
117- python3 -m twine upload -r Triton-Nightly -u TritonArtifactsSP -p ${{ steps.generate-token.outputs.access_token }} --config-file utils/nightly.pypirc --non-interactive --verbose wheelhouse/*
118-
119- - name : Azure Logout
120- if : ${{ steps.check-version.outputs.new_commit == 'true' && (success() || failure()) }}
92+ - name : Upload wheels to PyPI
93+ if : ${{ matrix.config.arch == 'x86_64' }}
12194 run : |
122- az logout
123- az cache purge
124- az account clear
95+ python3 -m pip install twine --upgrade --user
96+ python3 -m twine upload wheelhouse/* -u __token__ -p ${{ secrets.PYPY_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments