Skip to content

Commit 4090c39

Browse files
committed
Update actions
1 parent 8dc1849 commit 4090c39

File tree

11 files changed

+11
-5368
lines changed

11 files changed

+11
-5368
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,15 @@ jobs:
5555
# - name: Execute jacocoTestReport
5656
# run: ./gradlew test jacocoTestReport && cp build/reports/jacoco/report.xml jacoco.xml || echo "Code coverage failed"
5757
- name: Build with Gradle
58-
run: ./gradlew build asciidoctor --refresh-dependencies --no-daemon --continue -Denv.ci=true
58+
run: ./gradlew build --refresh-dependencies --no-daemon --continue -Denv.ci=true
59+
- name: Prepare gpg key
60+
run: |
61+
echo "${{secrets.SIGNING_KEY_FILE}}" | base64 -d > ~/.gradle/secring.gpg
62+
- name: Publish Libraries
63+
run: ./gradlew publish -Psigning.keyId=${{ secrets.SIGNING_KEY_ID }} -Psigning.password=${{ secrets.SIGNING_KEY_PASSWORD }} -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg) -Denv.ci=true
64+
env:
65+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
66+
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
5967
- name: Generate Changelog
6068
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
6169
with:
@@ -65,7 +73,7 @@ jobs:
6573
issues: true
6674
issuesWoLabels: true
6775
stripGeneratorNotice: true
68-
- name: Push Docs and Changelog
76+
- name: Push Changelog
6977
uses: github-actions-x/commit@v2.9
7078
with:
7179
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -77,11 +85,3 @@ jobs:
7785
email: ${{ github.actor }}@users.noreply.github.com
7886
# - name: Push codeCoverage to Codecov
7987
# run: bash <(curl -s https://codecov.io/bash)
80-
- name: Prepare gpg key
81-
run: |
82-
echo "${{secrets.SIGNING_KEY_FILE}}" | base64 -d > ~/.gradle/secring.gpg
83-
- name: Publish Libraries
84-
run: ./gradlew publish -Psigning.keyId=${{ secrets.SIGNING_KEY_ID }} -Psigning.password=${{ secrets.SIGNING_KEY_PASSWORD }} -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg) -Denv.ci=true
85-
env:
86-
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
87-
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,4 +645,4 @@ MigrationBackup/
645645
contiperf-report
646646

647647
samples/async/local-example/
648-
docs-src
648+
docs

build.gradle

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ buildscript {
1313
plugins {
1414
id 'jacoco'
1515
id 'org.sonarqube' version '3.0'
16-
id 'org.asciidoctor.jvm.convert' version '3.3.2'
1716
id 'org.springframework.boot' version "${springBootVersion}" apply false
1817
}
1918

@@ -30,14 +29,5 @@ repositories {
3029
mavenCentral()
3130
}
3231

33-
asciidoctor {
34-
sourceDir file('docs/asciidoc')
35-
baseDir file('docs/asciidoc')
36-
sources {
37-
include 'index.asciidoc'
38-
}
39-
outputDir file('docs')
40-
}
41-
4232
apply from: './main.gradle'
4333
apply plugin: 'com.github.ben-manes.versions'

0 commit comments

Comments
 (0)