Skip to content

Commit

Permalink
hopefully fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDrawingCoder-Gamer committed Mar 18, 2023
1 parent 77bf714 commit 7a6c975
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a6c975

Please sign in to comment.