Skip to content

Commit

Permalink
Merge pull request #8 from kyri-petrou/scala-3.3.0
Browse files Browse the repository at this point in the history
Add build for Scala 3.3.0
  • Loading branch information
Roman Janusz authored May 24, 2023
2 parents a09d67d + 416854b commit 5f71c72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 44 deletions.
48 changes: 5 additions & 43 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala:
- 3.3.0-RC4
- 3.3.0-RC3
- 3.3.0-RC2
- 3.3.0-RC1
- 3.2.2
- 3.2.1
- 2.13.10
- 2.12.17
scala: [3.3.0, 3.2.2, 3.2.1, 2.13.10, 2.12.17]
java: [temurin@17]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -81,7 +73,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.3.0-RC4]
scala: [3.3.0]
java: [temurin@17]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -109,42 +101,12 @@ jobs:
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Download target directories (3.3.0-RC4)
- name: Download target directories (3.3.0)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-3.3.0-RC4-${{ matrix.java }}
name: target-${{ matrix.os }}-3.3.0-${{ matrix.java }}

- name: Inflate target directories (3.3.0-RC4)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (3.3.0-RC3)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-3.3.0-RC3-${{ matrix.java }}

- name: Inflate target directories (3.3.0-RC3)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (3.3.0-RC2)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-3.3.0-RC2-${{ matrix.java }}

- name: Inflate target directories (3.3.0-RC2)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (3.3.0-RC1)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-3.3.0-RC1-${{ matrix.java }}

- name: Inflate target directories (3.3.0-RC1)
- name: Inflate target directories (3.3.0)
run: |
tar xf targets.tar
rm targets.tar
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
inThisBuild(Seq(
organization := "com.github.ghik",
scalaVersion := crossScalaVersions.value.head,
crossScalaVersions := Seq("3.3.0-RC4", "3.3.0-RC3", "3.3.0-RC2", "3.3.0-RC1", "3.2.2", "3.2.1", "2.13.10", "2.12.17"),
crossScalaVersions := Seq("3.3.0", "3.2.2", "3.2.1", "2.13.10", "2.12.17"),

githubWorkflowTargetTags ++= Seq("v*"),
githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17")),
Expand Down

0 comments on commit 5f71c72

Please sign in to comment.