Skip to content

Commit

Permalink
Merge branch 'master' into develop-0.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
stubenhuang committed Oct 12, 2023
2 parents 7d0a2f8 + e8f1c2f commit f4336a3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/publish-snapshot-jdk17.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Trigger building on push event, and publishing snapshot package if in base repository
name: Build and Publish snapshot package
on:
push:
branches:
- develop-0.0.10
paths-ignore:
- '.github/**'
- 'docs/**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Set up Node JS
uses: actions/setup-node@v2
with:
node-version: 14
- name: Build with Gradle
run: ./gradlew build
- name: Publish snapshot package
if: github.repository == 'bkdevops-projects/devops-framework'
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
run: ./gradlew publish

0 comments on commit f4336a3

Please sign in to comment.