From fe7c329a37ebb7d62577c1f0e298d4a7fb04e5ce Mon Sep 17 00:00:00 2001 From: Paul Horton Date: Tue, 23 Jul 2024 09:02:21 +0100 Subject: [PATCH] try non-composite official action Signed-off-by: Paul Horton --- .github/workflows/ci.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cedf42..26a38ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,17 +105,22 @@ jobs: - name: Setup Sonatype CLI uses: sonatype/actions/setup-iq-cli@v1 with: - iq-cli-version: latest + iq-cli-version: latest + + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' - name: Sonatype Lifecycle Evaluation id: evaluate - uses: sonatype/actions/evaluate@v1 + uses: sonatype/actions/run-iq-cli@v1 with: - iq-server-url: ${{ secrets.SONATYPE_LIFECYCLE_URL }} - username: ${{ secrets.SONATYPE_LIFECYCLE_USERNAME }} - password: ${{ secrets.SONATYPE_LIFECYCLE_PASSWORD }} - application-id: ${{ env.LC_APPLICATION_ID }} - scan-targets: / + iq-server-url: ${{ secrets.SONATYPE_LIFECYCLE_URL }} + username: ${{ secrets.SONATYPE_LIFECYCLE_USERNAME }} + password: ${{ secrets.SONATYPE_LIFECYCLE_PASSWORD }} + application-id: ${{ env.LC_APPLICATION_ID }} + scan-targets: / - name: Log evaluate action output run: echo "${{ steps.evaluate.outputs.scan-id }} ${{ steps.evaluate.outputs.report-url }}"