Skip to content

Commit 5aca374

Browse files
committed
Revert "fix windows release issue"
This reverts commit ad7ed44.
1 parent ad7ed44 commit 5aca374

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎.github/workflows/build_windows.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -794,9 +794,8 @@ jobs:
794794
upload:
795795
needs: [build, prepare-upload, sign-arm64]
796796
uses: pytorch/test-infra/.github/workflows/_binary_upload.yml@main
797-
# Release wheels are published to the PyTorch test index.
798-
# ZIP artifacts use a different artifact name and are not wheel uploads.
799-
if: ${{ always() && !cancelled() && needs.build.result == 'success' && needs.prepare-upload.result == 'success' && (needs.sign-arm64.result == 'success' || needs.sign-arm64.result == 'skipped') && inputs.python-only == false && inputs.skip-binary-upload == false && inputs.is-release-tarball == false }}
797+
# if it is the release wheel or tarball, then skip upload to pytorch index(release wheel are uploaded to pypi)
798+
if: ${{ always() && !cancelled() && needs.build.result == 'success' && needs.prepare-upload.result == 'success' && (needs.sign-arm64.result == 'success' || needs.sign-arm64.result == 'skipped') && inputs.python-only == false && inputs.skip-binary-upload == false && inputs.is-release-wheel == false && inputs.is-release-tarball == false }}
800799
with:
801800
repository: ${{ inputs.repository }}
802801
ref: ${{ inputs.ref }}

‎.github/workflows/release-windows.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ jobs:
127127
smoke-test-script: ${{ matrix.smoke-test-script }}
128128
package-name: ${{ matrix.package-name }}
129129
is-release-wheel: true
130-
trigger-event: ${{ github.event_name }}
131130
build-executorch-runtime: true
132131

133132
concurrency:

0 commit comments

Comments
 (0)