-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (41 loc) · 1.1 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
name: Release
"on":
schedule:
- cron: 0 */2 * * *
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: Release
needs: [branch]
strategy:
matrix:
darwin-vsn: ["13", "14", "15"]
# otp-vsn is picked later
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 is picked later
github-token: ${{secrets.GITHUB_TOKEN}}