From 7a6c9750897073ce24c52e47f2a46490757f46bc Mon Sep 17 00:00:00 2001 From: TheDrawingCoding-Gamer Date: Fri, 17 Mar 2023 23:47:54 -0400 Subject: [PATCH] hopefully fix deployment --- .github/workflows/ci.yml | 4 ++-- build.sbt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 865c06b..f274403 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,12 +26,12 @@ jobs: uses: typelevel/download-java@v2 with: distribution: temurin - java-version: 8 + java-version: 17 - name: Setup Java (temurin@8) uses: actions/setup-java@v3 with: distribution: jdkfile - java-version: 8 + java-version: 17 jdkFile: ${{ steps.download-java-temurin-8.outputs.jdkFile }} - name: Cache sbt uses: actions/cache@v3 diff --git a/build.sbt b/build.sbt index 760770a..97b3678 100644 --- a/build.sbt +++ b/build.sbt @@ -144,8 +144,8 @@ def rasterize(source: File, file: File, w: Float, h: Float): Seq[File] = { IO.createDirectory(file) Using(Jimfs.newFileSystem(Configuration.unix())) { fs => - val path = fs.getPath("css.css") - Files.writeString(path, css) + // val path = fs.getPath("css.css") + // Files.writeString(path, css) Path.selectSubpaths(source, new ExtensionFilter("svg")).unzip._1.toSeq.map { svg => val daSvg = loadDocument(svg.asURL) var daImage: Option[BufferedImage] = None