Schedule Builds #577
This file contains hidden or 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: Schedule Builds | |
| on: | |
| # allow rebuilding manually | |
| workflow_dispatch: | |
| # pre-build sstate regularly | |
| schedule: | |
| - cron: '30 3 * * *' | |
| jobs: | |
| build: | |
| name: Schedule Builds | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event_name == 'workflow_dispatch' || vars.SCHEDULE_BUILDS }} | |
| permissions: | |
| # needed for triggering other workflows | |
| actions: write | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v4 | |
| - name: Trigger master build | |
| run: gh workflow run build --ref master | |
| - name: Trigger wrynose build | |
| run: gh workflow run build --ref wrynose | |
| - name: Trigger scarthgap build | |
| run: gh workflow run build --ref scarthgap |