Skip to content

Add trigger to package nightly builds #3

Add trigger to package nightly builds

Add trigger to package nightly builds #3

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:

Check failure on line 21 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: 21, Col: 3): Error calling workflow 'pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main'. The workflow is requesting 'id-token: write', but is only allowed 'id-token: none'.
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 }}