Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
juancgalvis committed May 2, 2024
1 parent 8dc1849 commit 4090c39
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 5,368 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,15 @@ jobs:
# - name: Execute jacocoTestReport
# run: ./gradlew test jacocoTestReport && cp build/reports/jacoco/report.xml jacoco.xml || echo "Code coverage failed"
- name: Build with Gradle
run: ./gradlew build asciidoctor --refresh-dependencies --no-daemon --continue -Denv.ci=true
run: ./gradlew build --refresh-dependencies --no-daemon --continue -Denv.ci=true
- name: Prepare gpg key
run: |
echo "${{secrets.SIGNING_KEY_FILE}}" | base64 -d > ~/.gradle/secring.gpg
- name: Publish Libraries
run: ./gradlew publish -Psigning.keyId=${{ secrets.SIGNING_KEY_ID }} -Psigning.password=${{ secrets.SIGNING_KEY_PASSWORD }} -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg) -Denv.ci=true
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
- name: Generate Changelog
uses: heinrichreimer/[email protected]
with:
Expand All @@ -65,7 +73,7 @@ jobs:
issues: true
issuesWoLabels: true
stripGeneratorNotice: true
- name: Push Docs and Changelog
- name: Push Changelog
uses: github-actions-x/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -77,11 +85,3 @@ jobs:
email: ${{ github.actor }}@users.noreply.github.com
# - name: Push codeCoverage to Codecov
# run: bash <(curl -s https://codecov.io/bash)
- name: Prepare gpg key
run: |
echo "${{secrets.SIGNING_KEY_FILE}}" | base64 -d > ~/.gradle/secring.gpg
- name: Publish Libraries
run: ./gradlew publish -Psigning.keyId=${{ secrets.SIGNING_KEY_ID }} -Psigning.password=${{ secrets.SIGNING_KEY_PASSWORD }} -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg) -Denv.ci=true
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -645,4 +645,4 @@ MigrationBackup/
contiperf-report

samples/async/local-example/
docs-src
docs
10 changes: 0 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ buildscript {
plugins {
id 'jacoco'
id 'org.sonarqube' version '3.0'
id 'org.asciidoctor.jvm.convert' version '3.3.2'
id 'org.springframework.boot' version "${springBootVersion}" apply false
}

Expand All @@ -30,14 +29,5 @@ repositories {
mavenCentral()
}

asciidoctor {
sourceDir file('docs/asciidoc')
baseDir file('docs/asciidoc')
sources {
include 'index.asciidoc'
}
outputDir file('docs')
}

apply from: './main.gradle'
apply plugin: 'com.github.ben-manes.versions'
Loading

0 comments on commit 4090c39

Please sign in to comment.