diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index ecef8590..b6c90d7b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -34,7 +34,7 @@ jobs: - name: Run Gradle Test run: | - ./gradlew spotlessCheck spotBugsMain test --profile --fail-fast + ./gradlew spotlessCheck spotBugsMain test --profile --fail-fast --scan env: ORG_GRADLE_PROJECT_ossrhUsername: ${{secrets.OSSRH_USERNAME}} ORG_GRADLE_PROJECT_ossrhPassword: ${{secrets.OSSRH_TOKEN}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa05570f..549c1d76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,8 +16,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 - uses: actions/setup-java@v4 with: @@ -34,7 +32,7 @@ jobs: run: | ./gradlew :bosk-core:test publish \ -Pversion="${{github.event.release.tag_name}}" \ - --info + --info --scan env: ORG_GRADLE_PROJECT_ossrhUsername: ${{secrets.OSSRH_USERNAME}} ORG_GRADLE_PROJECT_ossrhPassword: ${{secrets.OSSRH_TOKEN}}