Use sbt-native-packager instead of sbt-pack #1
Workflow file for this run
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
name: Build the MSI Package | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: windows-latest | |
env: | |
RELEASEBUILD: yes | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '21' | |
cache: 'sbt' | |
- name: Build MSI package | |
run: | | |
sbt 'dist-win-x86_64/Windows/packageBin' | |
- name: Upload MSI Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: scala.msi | |
path: ./dist/win-x86_64/target/windows/scala.msi |