generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 7
43 lines (40 loc) · 1.25 KB
/
build-main.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
name: Build main and Prepare Release draft
on:
push:
branches: [ main ]
jobs:
build-workflow:
strategy:
matrix:
profile: [ p231, p232, p233, p241, p242, p243 ]
uses: ./.github/workflows/build-workflow.yml
with:
build-profile: ${{ matrix.profile }}
ref-name: ${{ github.ref_name }}
build-with-rider: false
secrets: inherit
## can do a double matrix for rider but then it's not clear in github which is the rider build.
build-workflow-with-rider:
strategy:
matrix:
profile: [ p231, p232, p233, p241, p242, p243 ]
uses: ./.github/workflows/build-workflow.yml
with:
build-profile: ${{ matrix.profile }}
ref-name: ${{ github.ref_name }}
build-with-rider: true
secrets: inherit
plugin-verifier-workflow:
strategy:
matrix:
profile: [ p231, p232, p233, p241, p242, p243 ]
uses: ./.github/workflows/plugin-verifier-workflow.yml
with:
build-profile: ${{ matrix.profile }}
ref-name: ${{ github.ref_name }}
secrets: inherit
prepare-release-draft:
needs: [ build-workflow,build-workflow-with-rider,plugin-verifier-workflow ]
if: github.event_name != 'pull_request'
uses: ./.github/workflows/release-draft.yml
secrets: inherit