address PR review

pull/769/head
Clément Fournier 2022-04-11 17:50:32 +01:00 committed by powderluv
parent 4a2535a86d
commit f9d5201ae6
1 changed files with 4 additions and 3 deletions

View File

@ -66,10 +66,11 @@ jobs:
TORCH_MLIR_PYTHON_PACKAGE_VERSION="${{ github.event.inputs.python_package_version }}" \
./build_tools/build_python_wheels.sh
# upload the package we just built to the github releases page.
# If we were given a release_id, then upload the package we just built
# to the github releases page.
- name: Upload Release Assets (if requested)
id: upload-release-assets
if: github.event.inputs.release_id != ''
id: upload-release-assets
uses: dwenegar/upload-release-assets@v1
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
@ -79,8 +80,8 @@ jobs:
# Publishing is necessary to make the release visible to `pip`
# on the github releases page.
- name: Publish Release (if requested)
id: publish_release
if: github.event.inputs.release_id != ''
id: publish_release
uses: eregon/publish-release@v1
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}