Nightly builds for vision and audio #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
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 }} |