Nightly #136
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 | |
"on": | |
schedule: | |
- cron: 0 0 * * * | |
workflow_dispatch: {} | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
branch: | |
outputs: | |
head_ref: ${{steps.branch.outputs.head_ref}} | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- id: branch | |
uses: ./.github/actions/get-branch | |
release: | |
name: Nightly | |
needs: [branch] | |
strategy: | |
matrix: | |
darwin-vsn: ["13", "14"] | |
otp-vsn: ["master", "maint"] # The same as is_nightly_otp_for, in release.sh | |
fail-fast: true | |
max-parallel: 1 | |
runs-on: macos-${{matrix.darwin-vsn}} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
# We want jobs to always checkout the updated branch | |
ref: ${{needs.branch.outputs.head_ref}} | |
- name: Build and release | |
timeout-minutes: 60 | |
uses: ./.github/actions/build-and-release | |
with: | |
darwin-vsn: ${{matrix.darwin-vsn}} | |
otp-vsn: ${{matrix.otp-vsn}} | |
github-token: ${{secrets.GITHUB_TOKEN}} |