From f87bbba77189371c0c2c83dfbaf61d62f112adb7 Mon Sep 17 00:00:00 2001 From: albuch Date: Sun, 8 Jan 2023 16:50:57 +0100 Subject: [PATCH 1/3] :recycle: Replace olafurpg/setup-scala with coursier/setup-action --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aab99fd..c328d87 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,9 +24,9 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Setup Scala - uses: olafurpg/setup-scala@v13 + uses: coursier/setup-action@v1 with: - java-version: "adopt@1.${{ matrix.java }}" + java: "adopt:{{ matrix.java }}" - name: Coursier cache uses: coursier/cache-action@v6 - name: Publish Local From 85b8044652d803f707aa5029b7f1794ca8397476 Mon Sep 17 00:00:00 2001 From: albuch Date: Sun, 8 Jan 2023 16:57:15 +0100 Subject: [PATCH 2/3] :bug: Fix wrong parameter --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c328d87..2b47e85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,12 +23,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Coursier cache + uses: coursier/cache-action@v6 - name: Setup Scala uses: coursier/setup-action@v1 with: - java: "adopt:{{ matrix.java }}" - - name: Coursier cache - uses: coursier/cache-action@v6 + jvm: "adopt:{{ matrix.java }}" - name: Publish Local run: sbt -v -Dfile.encoding=UTF-8 "^ publishLocal" - name: Get plugin version From 1716cc25cb3c20f308dc3bb1c457fdfc948850d9 Mon Sep 17 00:00:00 2001 From: albuch Date: Sun, 8 Jan 2023 16:59:20 +0100 Subject: [PATCH 3/3] :bug: Fix interpolation syntax --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b47e85..b723f9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Scala uses: coursier/setup-action@v1 with: - jvm: "adopt:{{ matrix.java }}" + jvm: "adopt:${{ matrix.java }}" - name: Publish Local run: sbt -v -Dfile.encoding=UTF-8 "^ publishLocal" - name: Get plugin version