From 5ad77820162b98bbe705e3d25d1e6111638e929b Mon Sep 17 00:00:00 2001 From: Omkar Salpekar Date: Tue, 6 Dec 2022 15:45:12 -0800 Subject: [PATCH] [Nova] Simplify Caller Workflows --- .github/workflows/build-wheels-linux.yml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-wheels-linux.yml b/.github/workflows/build-wheels-linux.yml index ae05c0a042..6846a49272 100644 --- a/.github/workflows/build-wheels-linux.yml +++ b/.github/workflows/build-wheels-linux.yml @@ -18,29 +18,18 @@ jobs: with-cuda: disable build: needs: generate-matrix - strategy: - fail-fast: false - matrix: - include: - - repository: pytorch/text - pre-script: packaging/install_torchdata.sh - post-script: "" - smoke-test-script: test/smoke_tests/smoke_tests.py - package-name: torchtext - name: ${{ matrix.repository }} + name: pytorch/text uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main with: - repository: ${{ matrix.repository }} + repository: pytorch/text ref: "" + pre-script: packaging/install_torchdata.sh + post-script: "" + package-name: torchtext + smoke-test-script: test/smoke_tests/smoke_tests.py test-infra-repository: pytorch/test-infra test-infra-ref: main build-matrix: ${{ needs.generate-matrix.outputs.matrix }} - pre-script: ${{ matrix.pre-script }} - post-script: ${{ matrix.post-script }} - package-name: ${{ matrix.package-name }} - smoke-test-script: ${{ matrix.smoke-test-script }} - # Using "development" as trigger event so these binaries are not uploaded - # to official channels yet trigger-event: ${{ github.event_name }} secrets: AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}