diff --git a/.github/scripts/build b/.github/scripts/build index 1c6fdea57a..2299372714 100755 --- a/.github/scripts/build +++ b/.github/scripts/build @@ -1,3 +1,6 @@ #!/bin/bash set -e -./gradlew assemble shadowJar dokkaJavadoc orchidBuild --parallel --scan --stacktrace +./gradlew assemble shadowJar dokkaJavadoc --parallel --scan --stacktrace +if $REFERENCE; then + ./gradlew orchidBuild --parallel --scan --stacktrace +fi diff --git a/.github/scripts/deploy b/.github/scripts/deploy index 2531570305..f118c2d4bb 100755 --- a/.github/scripts/deploy +++ b/.github/scripts/deploy @@ -5,9 +5,9 @@ if [ $GITHUB_REPOSITORY = 'AlchemistSimulator/Alchemist' ] ./gradlew publishKotlinMavenPublicationToCentralS01Repository # Publish on GitHub. Fails due to overwritings, so it's ok to give up ./gradlew publishKotlinMavenPublicationToGithubRepository --continue || true - ./gradlew orchidDeploy if [ -n "$TAG" ] || [ "$BRANCH" = 'develop' ] then + ./gradlew orchidDeploy echo Installing surge sudo npm install --global surge echo Deploying ${STABILITY_MARKER}javadoc on surge diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 4447883461..e9e58d47d5 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [windows, macos, ubuntu] - jvm_version: [8, 11, 15] + jvm_version: [8, 11, 15, 16] runs-on: ${{ matrix.os }}-latest env: JAVA_VERSION: ${{ matrix.jvm_version }} diff --git a/.gitignore b/.gitignore index e3112ec440..0d7e57383b 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ buildProfile/ .idea/codeStyleSettings.xml .idea/inspectionProfiles/profiles_settings.xml .idea/jarRepositories.xml +.idea/dataSources.local.xml # MacOS .DS_Store diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 5c69890cf5..6587bbfd90 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -12,7 +12,7 @@