Skip to content

Add trigger to package nightly builds #2

Add trigger to package nightly builds

Add trigger to package nightly builds #2

name: Build Linux Wheels
on:
pull_request:
push:
branches:
- nightly
workflow_dispatch:
jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
with:
package-type: wheel
os: linux
test-infra-repository: pytorch/test-infra
test-infra-ref: main
with-cuda: disable
with-rocm: disable
with-cpu: enable
build:
needs: generate-matrix
name: ${{ matrix.repository }}
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
with:
repository: pytorch/torchtune
ref: ""
pre-script: ""
post-script: ""
smoke-test-script: "tests/smoke_tests.py"
package-name: torchtune
test-infra-repository: pytorch/test-infra
test-infra-ref: main
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
trigger-event: ${{ github.event_name }}
secrets:
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}

Check failure on line 37 in .github/workflows/build-wheels-linux.yml

View workflow run for this annotation

GitHub Actions / Build Linux Wheels

Invalid workflow file

The workflow is not valid. .github/workflows/build-wheels-linux.yml (Line: 37, Col: 43): Invalid secret, AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID is not defined in the referenced workflow. .github/workflows/build-wheels-linux.yml (Line: 38, Col: 47): Invalid secret, AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY is not defined in the referenced workflow.
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY: ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}