-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test workflow for the msi package
- Loading branch information
1 parent
880d773
commit 61b0d9f
Showing
2 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
################################################################################################### | ||
### THIS IS A REUSABLE WORKFLOW TO TEST SCALA MSI ### | ||
### HOW TO USE: ### | ||
### ### | ||
### NOTE: ### | ||
### ### | ||
################################################################################################### | ||
|
||
name: Test the MSI package | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
test: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Fetch the MSI package from GitHub Artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: scala.msi | ||
- name : Install Scala from the MSI Package | ||
run : | | ||
Start-Process msiexec -ArgumentList "/i scala.msi /qn /passive /quiet" -NoNewWindow -Wait | ||
shell: pwsh | ||
- name : Check that the `scala` command is available | ||
run : scala --version | ||
shell: cmd | ||
- name : Check that the `scalac` command is available | ||
run : scalac --version | ||
shell: cmd | ||
- name : Check that the `scaladoc` command is available | ||
run : scaladoc --version | ||
shell: cmd |