From 82d660de00360aac9170a605e2d883a1fd2f3850 Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Tue, 18 Apr 2023 22:05:28 +0200 Subject: [PATCH] chore: temporary suppress native images --- .github/scripts/release.sh | 6 +++--- .github/workflows/ci.yml | 35 +---------------------------------- 2 files changed, 4 insertions(+), 37 deletions(-) diff --git a/.github/scripts/release.sh b/.github/scripts/release.sh index b216f91fa..96ffbe094 100755 --- a/.github/scripts/release.sh +++ b/.github/scripts/release.sh @@ -10,9 +10,9 @@ ln -s "../libs/plantuml-${RELEASE_VERSION}.jar" "${RELEASE_DIR} ln -s "../libs/plantuml-${RELEASE_VERSION}-javadoc.jar" "${RELEASE_DIR}/plantuml-${RELEASE_VERSION}-javadoc.jar" ln -s "../libs/plantuml-${RELEASE_VERSION}-sources.jar" "${RELEASE_DIR}/plantuml-${RELEASE_VERSION}-sources.jar" ln -s "../libs/plantuml-pdf-${RELEASE_VERSION}.jar" "${RELEASE_DIR}/plantuml-pdf-${RELEASE_VERSION}.jar" -ln -s "../libs/plantuml-linux-amd64-${RELEASE_VERSION}" "${RELEASE_DIR}/plantuml-linux-amd64-${RELEASE_VERSION}" -ln -s "../libs/plantuml-darwin-amd64-${RELEASE_VERSION}" "${RELEASE_DIR}/plantuml-darwin-amd64-${RELEASE_VERSION}" -ln -s "../libs/plantuml-win-amd64-${RELEASE_VERSION}.exe" "${RELEASE_DIR}/plantuml-win-amd64-${RELEASE_VERSION}.exe" +#ln -s "../libs/plantuml-linux-amd64-${RELEASE_VERSION}" "${RELEASE_DIR}/plantuml-linux-amd64-${RELEASE_VERSION}" +#ln -s "../libs/plantuml-darwin-amd64-${RELEASE_VERSION}" "${RELEASE_DIR}/plantuml-darwin-amd64-${RELEASE_VERSION}" +#ln -s "../libs/plantuml-win-amd64-${RELEASE_VERSION}.exe" "${RELEASE_DIR}/plantuml-win-amd64-${RELEASE_VERSION}.exe" #ln -s "../plantuml-mit/build/libs/plantuml-mit-${RELEASE_VERSION}.jar" "${RELEASE_DIR}/plantuml-mit-${RELEASE_VERSION}.jar" #ln -s "../plantuml-mit/build/libs/plantuml-mit-${RELEASE_VERSION}-sources.jar" "${RELEASE_DIR}/plantuml-mit-${RELEASE_VERSION}-sources.jar" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57c29ec38..14d8842a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -150,20 +150,11 @@ jobs: key: "libs-${{ github.run_id }}" enableCrossOsArchive: true - native_images: - if: | - needs.workflow_config.outputs.do_release == 'true' || - needs.workflow_config.outputs.do_snapshot_release == 'true' - needs: build_artifacts - uses: ./.github/workflows/native-image.yml - with: - release-version: ${{ needs.build_artifacts.outputs.release_version }} - upload: if: | needs.workflow_config.outputs.do_release == 'true' || needs.workflow_config.outputs.do_snapshot_release == 'true' - needs: [ workflow_config, build_artifacts, native_images] + needs: [ workflow_config, build_artifacts ] runs-on: ubuntu-latest steps: - name: Checkout the repository @@ -186,30 +177,6 @@ jobs: fail-on-cache-miss: true enableCrossOsArchive: true - - name: Restore Native-image-darwin-amd64 cache - uses: actions/cache/restore@v3 - with: - path: "build/libs/plantuml-darwin-amd64-*" - key: "native-image-darwin-amd64-${{ github.run_id }}" - fail-on-cache-miss: true - enableCrossOsArchive: true - - - name: Restore Native-image-win-amd64 cache - uses: actions/cache/restore@v3 - with: - path: "build/libs/plantuml-win-amd64-*" - key: "native-image-win-amd64-${{ github.run_id }}" - fail-on-cache-miss: true - enableCrossOsArchive: true - - - name: Restore Native-image-linux-amd64 cache - uses: actions/cache/restore@v3 - with: - path: "build/libs/plantuml-linux-amd64-*" - key: "native-image-linux-amd64-${{ github.run_id }}" - fail-on-cache-miss: true - enableCrossOsArchive: true - - name: Upload artifacts uses: actions/upload-artifact@v3 with: