diff --git a/.github/workflows/generateclasses.yaml b/.github/workflows/generateclasses.yaml index ed62b31fc..f32f23b88 100644 --- a/.github/workflows/generateclasses.yaml +++ b/.github/workflows/generateclasses.yaml @@ -91,7 +91,7 @@ jobs: MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - name: Download latest published version of JNetReflector - run: dotnet tool update --version 2.5.8 -g MASES.JNetReflector + run: dotnet tool update --version 2.5.9 -g MASES.JNetReflector if: ${{ inputs.UseLatestJNetReflector == false }} - name: Build classes with unpublished JNetReflector @@ -110,7 +110,12 @@ jobs: env: JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - name: Try compilation + - name: Try compilation of Jars + continue-on-error: ${{ inputs.ContinueOnLatestJNetReflectorError == true }} + if: ${{ inputs.UseLatestJNetReflector == true }} + run: mvn --file ./src/jvm/knet/pom.xml --no-transfer-progress package + + - name: Try compilation of C# continue-on-error: ${{ inputs.ContinueOnLatestJNetReflectorError == true }} if: ${{ inputs.UseLatestJNetReflector == true }} run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030%3B0618" src\net\KNet\KNet.csproj diff --git a/src/net/KNet/KNet.csproj b/src/net/KNet/KNet.csproj index 2269b971c..9916f6fbd 100644 --- a/src/net/KNet/KNet.csproj +++ b/src/net/KNet/KNet.csproj @@ -49,7 +49,7 @@ - + All None diff --git a/src/net/KNetPS/KNetPS.csproj b/src/net/KNetPS/KNetPS.csproj index 2cf1d628b..cc7faa988 100644 --- a/src/net/KNetPS/KNetPS.csproj +++ b/src/net/KNetPS/KNetPS.csproj @@ -42,7 +42,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive