-
Notifications
You must be signed in to change notification settings - Fork 104
61 lines (50 loc) · 1.38 KB
/
release.yml
File metadata and controls
61 lines (50 loc) · 1.38 KB
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
54
55
56
57
58
59
60
61
# This Action will build the SDK and if this succeeds, create a GitHub release
name: Release Builds
on:
push:
tags:
- "*"
jobs:
# -------------------------------
# 1. Build + bundle (Linux only)
# -------------------------------
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Build the SDK
uses: ./.github/actions/build-sdk
with:
tag: ${{ github.ref_name }}
createBundle: true
- name: Prepare installers
uses: ./.github/actions/prepare-installers
# -------------------------------
# 2. Native installer packaging (matrix)
# -------------------------------
package:
needs: build
strategy:
matrix:
os: [ ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest, macos-26-intel ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Build installers
uses: ./.github/actions/build-installers
with:
tag: ${{ github.ref_name }}
os: ${{ runner.os }}
arch: ${{ runner.arch }}
# -------------------------------
# 3. Release
# -------------------------------
release:
needs: package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Publish release
uses: ./.github/actions/publish-release
with:
tag: ${{ github.ref }}