Trigger on push to nightly #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: Nightly build | |
# Trigger the workflow every day at 5 AM (UTC). | |
on: | |
push: | |
branches: nightly | |
schedule: | |
- cron: '0 5 * * *' | |
workflow_dispatch: | |
jobs: | |
nightly-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out vscode-lingua-franca repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 1 | |
- name: Pull the latest lingua-franca submodule | |
run: | | |
ls -l | |
- name: Set nightly version number | |
run: | | |
./.github/scripts/nightly-version.sh |