File tree 2 files changed +21
-7
lines changed
2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change
1
+ # ##################################################################################################
2
+ # ## THIS IS A REUSABLE WORKFLOW TO BUILD SCALA MSI ###
3
+ # ## HOW TO USE: ###
4
+ # ## - THE RELEASE WORKFLOW SHOULD CALL THIS WORKFLOW ###
5
+ # ## - IT WILL UPLOAD TO GITHUB THE MSI FILE FOR SCALA UNDER THE 'scala.msi' NAME ###
6
+ # ## ###
7
+ # ## NOTE: ###
8
+ # ## - WE SHOULD BUILD SCALA USING JAVA 8 ###
9
+ # ##################################################################################################
1
10
2
11
name : Build the MSI Package
3
12
4
13
on :
5
- pull_request :
14
+ workflow_call :
15
+
16
+ env :
17
+ # NECESSARY FLAG TO CORRECTLY CONFIGURE THE VERSION FOR SCALA
18
+ RELEASEBUILD : yes
6
19
7
20
jobs :
8
21
build :
9
22
runs-on : windows-latest
10
- env :
11
- RELEASEBUILD : yes
12
23
steps :
13
- - name : Checkout repository
14
- uses : actions/checkout@v3
15
-
16
- - uses : actions/setup-java@v3
24
+ - uses : actions/checkout@v4
25
+ - uses : actions/setup-java@v4
17
26
with :
18
27
distribution : ' adopt'
19
28
java-version : ' 8'
Original file line number Diff line number Diff line change @@ -1008,3 +1008,8 @@ jobs:
1008
1008
WORKFLOW_RUN_URL : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
1009
1009
with :
1010
1010
filename : .github/workflows/issue_nightly_failed.md
1011
+
1012
+ build-msi-package :
1013
+ uses : ./.github/workflows/build-msi.yml
1014
+ if : github.event_name == 'pull_request' && contains(github.event.pull_request.body, '[test_msi]')
1015
+ # TODO: ADD A JOB THAT DEPENDS ON THIS TO TEST THE MSI
You can’t perform that action at this time.
0 commit comments