build: fix release artifact upload #124
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [synchronize, opened, reopened] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: coursier/cache-action@v6.4 | |
- uses: VirtusLab/scala-cli-setup@v1 | |
with: | |
power: true | |
jvm: "temurin:17" | |
- name: Check formatting | |
run: scala-cli fmt --check | |
- name: Compile JVM | |
run: scala-cli compile . --platform jvm | |
- name: Compile JVM | |
run: scala-cli compile . --platform js |