Skip to content

Nightly builds for vision and audio #1

Nightly builds for vision and audio

Nightly builds for vision and audio #1

name: Trigger nightly builds for domains
on:
schedule:
# every night at 4:30AM
- cron: 30 4 * * *
workflow_dispatch:
inputs:
domain:
description: "What domain to trigger"
required: false
type: choice
default: all
options:
- vision
- audio
- text
- all
jobs:
tag_nightly_text:
if: ${{ github.event_name == 'schedule' || inputs.domain == 'text' || inputs.domain == 'all' }}
name: Trigger nightly text build
uses: ./test-infra/.github/actions/trigger-nightly

Check failure on line 24 in .github/workflows/trigger_nightly.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/trigger_nightly.yml

Invalid workflow file

invalid value workflow reference: no version specified
with:
ref: main
repository: pytorch/text
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
tag_nightly_vision:
if: ${{ github.event_name == 'schedule' || inputs.domain == 'vision' || inputs.domain == 'all' }}
name: Trigger nightly vision build
uses: ./test-infra/.github/actions/trigger-nightly
with:
ref: main
repository: pytorch/vision
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
tag_nightly_audio:
if: ${{ github.event_name == 'schedule' || inputs.domain == 'audio' || inputs.domain == 'all' }}
name: Trigger nightly audio build
uses: ./test-infra/.github/actions/trigger-nightly
with:
ref: main
repository: pytorch/audio
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}