File tree Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Expand file tree Collapse file tree 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+ # ##################################################################################################
110
211name : Build the MSI Package
312
413on :
5- pull_request :
14+ workflow_call :
15+
16+ env :
17+ # NECESSARY FLAG TO CORRECTLY CONFIGURE THE VERSION FOR SCALA
18+ RELEASEBUILD : yes
619
720jobs :
821 build :
922 runs-on : windows-latest
10- env :
11- RELEASEBUILD : yes
1223 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
1726 with :
1827 distribution : ' adopt'
1928 java-version : ' 8'
Original file line number Diff line number Diff line change @@ -1008,3 +1008,8 @@ jobs:
10081008 WORKFLOW_RUN_URL : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
10091009 with :
10101010 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