-
Notifications
You must be signed in to change notification settings - Fork 654
61 lines (53 loc) · 1.46 KB
/
target-release-build.yaml
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
name: '[Entire] Build Release Version'
on:
release:
types: [published]
env:
CARGO_INCREMENTAL: 0
RUST_BACKTRACE: short
jobs:
windows_build:
name: Windows Build
uses: ./.github/workflows/deps-build-windows-nsis.yaml
with:
portable: true
nightly: false
tag: ${{ github.event.release.tag_name }}
secrets: inherit
linux_build:
name: Linux Build
uses: ./.github/workflows/deps-build-linux.yaml
with:
nightly: false
tag: ${{ github.event.release.tag_name }}
secrets: inherit
macos_amd64_build:
name: macOS amd64 Build
uses: ./.github/workflows/deps-build-macos.yaml
with:
nightly: false
aarch64: false
tag: ${{ github.event.release.tag_name }}
secrets: inherit
macos_aarch64_build:
name: macOS aarch64 Build
uses: ./.github/workflows/deps-build-macos.yaml
with:
nightly: false
aarch64: true
tag: ${{ github.event.release.tag_name }}
secrets: inherit
updater:
name: Create Updater
uses: ./.github/workflows/deps-create-updater.yaml
needs: [windows_build, linux_build, macos_amd64_build, macos_aarch64_build]
with:
nightly: false
telegram:
name: Send Release Message to Telegram
if: startsWith(github.repository, 'libnyanpasu')
needs: [windows_build, linux_build, macos_amd64_build, macos_aarch64_build]
uses: ./.github/workflows/deps-message-telegram.yaml
with:
nightly: false
secrets: inherit