-
Notifications
You must be signed in to change notification settings - Fork 5.3k
82 lines (82 loc) · 2.16 KB
/
IntelliJ_IDEA.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: IntelliJ IDEA
on:
schedule:
# daily at 4AM for the master branch
- cron: '0 4 * * *'
push:
# for each release
tags:
- 'idea/*'
env:
artifacts_dir: 'out/idea-ce/artifacts'
jobs:
# a single job for all OSes cannot be used due to free disk space lack on runners
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: ./.github/actions/build_ide
with:
os: linux
extension: tar.gz
- uses: ./.github/actions/upload_ide
with:
os: linux
extension: tar.gz
artifacts_dir: ${{env.artifacts_dir}}
build-windows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: ./.github/actions/build_ide
with:
os: windows
extension: exe
- uses: ./.github/actions/upload_ide
with:
os: windows
extension: exe
artifacts_dir: ${{env.artifacts_dir}}
build-macos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: ./.github/actions/build_ide
with:
os: mac
extension: sit
- uses: ./.github/actions/upload_ide
with:
os: mac
extension: sit
artifacts_dir: ${{env.artifacts_dir}}
- name: Upload .dmg build scripts
uses: actions/upload-artifact@v4.4.3
with:
name: dmg-build-scripts
if-no-files-found: 'error'
retention-days: 1
path: ${{env.artifacts_dir}}/macos-dmg-build/
build-dmg:
runs-on: macos-latest
needs: build-macos
steps:
- uses: actions/checkout@v4.2.2
- name: Download .dmg build scripts
uses: actions/download-artifact@v4.1.8
with:
name: dmg-build-scripts
- name: Download .sit
uses: actions/download-artifact@v4.1.8
with:
name: mac-sit-unsigned
- name: Build .dmg
shell: bash
# language=bash
run: /bin/bash ./build.sh
- name: Upload .dmg
uses: ./.github/actions/upload_ide
with:
os: mac
extension: dmg
artifacts_dir: .