diff --git a/.github/workflows/~dotnet.yml b/.github/workflows/~dotnet.yml index 07b25d2..5db4179 100644 --- a/.github/workflows/~dotnet.yml +++ b/.github/workflows/~dotnet.yml @@ -19,6 +19,9 @@ jobs: dotnet: runs-on: ubuntu-latest steps: + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8' - uses: actions/checkout@v3 - uses: actions/download-artifact@v3 with: @@ -53,6 +56,9 @@ jobs: runs-on: ${{ matrix.runs-on }} needs: [dotnet] steps: + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8' - uses: actions/checkout@v3 - uses: actions/download-artifact@v3 with: diff --git a/test/java/src/main/java/alphaTab/alphaSkia/test/Main.java b/test/java/src/main/java/alphaTab/alphaSkia/test/Main.java index ed4c4c1..879510d 100644 --- a/test/java/src/main/java/alphaTab/alphaSkia/test/Main.java +++ b/test/java/src/main/java/alphaTab/alphaSkia/test/Main.java @@ -175,13 +175,13 @@ private static int mainWithExitCode() { private static void initializeAlphaSkia() throws IOException { switch(getOperatingSystemRid()) { case "macos": - AlphaSkiaPlatform.loadLibrary(AlphaSkiaMacOs.class); + AlphaSkiaMacOs.INSTANCE.inititalize(); break; case "win": - AlphaSkiaPlatform.loadLibrary(AlphaSkiaWindows.class); + AlphaSkiaWindows.INSTANCE.inititalize(); break; case "linux": - AlphaSkiaPlatform.loadLibrary(AlphaSkiaLinux.class); + AlphaSkiaLinux.INSTANCE.inititalize(); break; } }