-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate azure pipeline to GH-action (#4)
- Loading branch information
1 parent
452ed38
commit 2dce5f9
Showing
6 changed files
with
55 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Build and Publish | ||
|
||
on: | ||
push: | ||
tags: ["**"] | ||
branches: ["**"] | ||
|
||
jobs: | ||
build-and-publish: | ||
name: Java Gradle | ||
uses: bakdata/ci-templates/.github/workflows/java-gradle-library.yaml@1.40.5 | ||
with: | ||
java-version: 17 | ||
secrets: | ||
sonar-token: ${{ secrets.SONARCLOUD_TOKEN }} | ||
sonar-organization: ${{ secrets.SONARCLOUD_ORGANIZATION }} | ||
signing-secret-key-ring: ${{ secrets.SONATYPE_SIGNING_SECRET_KEY_RING }} | ||
signing-key-id: ${{ secrets.SONATYPE_SIGNING_KEY_ID }} | ||
signing-password: ${{ secrets.SONATYPE_SIGNING_PASSWORD }} | ||
ossrh-username: ${{ secrets.SONATYPE_OSSRH_USERNAME }} | ||
ossrh-password: ${{ secrets.SONATYPE_OSSRH_PASSWORD }} | ||
github-username: ${{ secrets.GH_USERNAME }} | ||
github-token: ${{ secrets.GH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
release-type: | ||
description: "The scope of the release (major, minor or patch)." | ||
type: choice | ||
required: true | ||
default: patch | ||
options: | ||
- patch | ||
- minor | ||
- major | ||
|
||
jobs: | ||
java-gradle-release: | ||
name: Java Gradle | ||
uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.40.5 | ||
with: | ||
java-version: 17 | ||
release-type: "${{ inputs.release-type }}" | ||
secrets: | ||
github-email: "${{ secrets.GH_EMAIL }}" | ||
github-username: "${{ secrets.GH_USERNAME }}" | ||
github-token: "${{ secrets.GH_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
.gradle | ||
.* | ||
!.gitignore | ||
!.github | ||
build | ||
.vscode | ||
.idea | ||
bin | ||
.DS_STORE |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |