Skip to content

Commit 4fc3cf7

Browse files
authored
Drop build scan comment functionality without replacement (#94)
Fixes #85
1 parent 4c89837 commit 4fc3cf7

File tree

3 files changed

+3
-20
lines changed

3 files changed

+3
-20
lines changed

.github/workflows/ci-build.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,4 @@ jobs:
1919
java-version: 11
2020
- name: Set up Gradle
2121
uses: gradle/[email protected]
22-
- name: gradle check
23-
id: gradle
24-
run: "./gradlew :check"
25-
- name: Comment build scan url
26-
uses: actions/github-script@v6
27-
if: github.event_name == 'pull_request' && failure()
28-
with:
29-
github-token: ${{secrets.GITHUB_TOKEN}}
30-
script: |
31-
github.rest.issues.createComment({
32-
issue_number: context.issue.number,
33-
owner: context.repo.owner,
34-
repo: context.repo.repo,
35-
body: '❌ ${{ github.workflow }} failed: ${{ steps.gradle.outputs.build-scan-url }}'
36-
})
22+
- run: "./gradlew :check"

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ jobs:
3030
java-version: 11
3131
- name: Set up Gradle
3232
uses: gradle/[email protected]
33-
- name: gradle asciidoc
34-
run: "./gradlew :asciidoctor"
33+
- run: "./gradlew :asciidoctor"
3534
- name: Upload artifact
3635
uses: actions/upload-pages-artifact@v1
3736
with:

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ jobs:
1818
java-version: 11
1919
- name: Set up Gradle
2020
uses: gradle/[email protected]
21-
- name: gradle publishPlugins
22-
id: gradle
23-
run: "./gradlew :publishPlugin --no-configuration-cache"
21+
- run: "./gradlew :publishPlugin --no-configuration-cache"
2422
env:
2523
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
2624
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}

0 commit comments

Comments
 (0)