Skip to content

Commit

Permalink
add signing to github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gciatto committed Oct 24, 2020
1 parent cb9b32f commit 41ff6ac
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,25 +108,31 @@ jobs:
run: gradle $OPTS dokkaHtml --parallel

- name: Generate Molti-Module Doc
run: gradle $OPTS dokkaHtmlMultiModule --parallel
run: gradle $OPTS dokkaHtmlMultiModule --parallel

- name: Archive Doc
uses: actions/upload-artifact@v2
with:
name: api-references
path: build/dokka/htmlMultiModule

deploy-github:
deploy-maven-github:
runs-on: ubuntu-latest
needs:
- build
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
steps:
- *checkout_code
- *setup_env
- *cache_jdk
- *install_jdk
- *cache_gradle

- name: Sign Archives
run: gradle $OPTS signAllPublications --parallel

- name: Publish on GitHub Maven Repo
run: gradle $OPTS publishAllPublicationsToMavenRepository --parallel
env:
Expand Down

0 comments on commit 41ff6ac

Please sign in to comment.