Skip to content

Commit

Permalink
Allow triggering scheduled builds via workflow_dispatch (#164)
Browse files Browse the repository at this point in the history
Co-authored-by: kendal <[email protected]>
  • Loading branch information
kendalharland and kendal authored Jun 27, 2024
1 parent 2356e15 commit 46d54f3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/schedule-swift-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ on:
schedule:
- cron: "0 */6 * * *"

# Allows us to trigger toolchain builds on-demand using the same inputs as scheduled builds.
# For more control over the swift-toolchain.yml's inputs, trigger that workflow directly.
workflow_dispatch:

jobs:
call_development_snapshot:
name: Development Snapshot
uses: ./.github/workflows/swift-toolchain.yml
with:
publish_artifacts: true
default_runner: ${{ vars.USE_CIRUN && 'cirun-win11-23h2-pro-arm64-16-2024-05-17' || 'swift-build-windows-latest-8-cores' }}
compilers_runner: ${{ vars.USE_CIRUN && 'cirun-win11-23h2-pro-arm64-64-2024-05-17' || 'swift-build-windows-latest-64-cores' }}
default_runner: ${{ vars.USE_CIRUN && 'cirun-win11-23h2-pro-x64-16-2024-05-17' || 'swift-build-windows-latest-8-cores' }}
compilers_runner: ${{ vars.USE_CIRUN && 'cirun-win11-23h2-pro-x64-64-2024-05-17' || 'swift-build-windows-latest-64-cores' }}
secrets: inherit
permissions:
contents: write
Expand Down

0 comments on commit 46d54f3

Please sign in to comment.