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 }}"