-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5682ea8
commit f39c079
Showing
12 changed files
with
76 additions
and
246 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,9 @@ | ||
name: Build and Test | ||
on: [pull_request, push, workflow_dispatch] | ||
|
||
jobs: | ||
build: | ||
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-build-and-test.yaml@main | ||
with: | ||
java_version: "11" | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Publish Major Package | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
publish_to_maven: | ||
description: 'True to publish the artifacts to maven repository, false to skip the step' | ||
default: true | ||
required: false | ||
type: boolean | ||
jobs: | ||
build-publish-package: | ||
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-java-publish-versioned-package.yaml@main | ||
with: | ||
release_type: 'Major' | ||
publish_to_maven: ${{ inputs.publish_to_maven }} | ||
java_version: "11" | ||
secrets: inherit |
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,17 @@ | ||
name: Publish Minor Package | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
publish_to_maven: | ||
description: 'True to publish the artifacts to maven repository, false to skip the step' | ||
default: true | ||
required: false | ||
type: boolean | ||
jobs: | ||
build-publish-package: | ||
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-java-publish-versioned-package.yaml@main | ||
with: | ||
release_type: 'Minor' | ||
publish_to_maven: ${{ inputs.publish_to_maven }} | ||
java_version: "11" | ||
secrets: inherit |
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,17 @@ | ||
name: Publish Patch Package | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
publish_to_maven: | ||
description: 'True to publish the artifacts to maven repository, false to skip the step' | ||
default: true | ||
required: false | ||
type: boolean | ||
jobs: | ||
build-publish-package: | ||
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-java-publish-versioned-package.yaml@main | ||
with: | ||
release_type: 'Patch' | ||
publish_to_maven: ${{ inputs.publish_to_maven }} | ||
java_version: "11" | ||
secrets: inherit |
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,18 +1,17 @@ | ||
name: Publish Snapshot | ||
on: workflow_dispatch | ||
|
||
name: Publish Snapshot Package | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
publish_to_maven: | ||
description: 'True to publish the artifacts to maven repository, false to skip the step' | ||
default: true | ||
required: false | ||
type: boolean | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ./.github/workflows/download_gpg_key | ||
with: | ||
key: ${{ secrets.GPG_KEY }} | ||
- name: Check Version is snapshot | ||
id: check_verion | ||
uses: ./.github/workflows/check_version | ||
with: | ||
needs_snapshot: 'true' | ||
- name: Deploy Snapshot | ||
run: mvn -B -Drepo.id=ossrh -Drepo.login="{{ secrets.SONATYPE_REPO_ACCOUNT }}" -Drepo.pwd="${{ secrets.SONATYPE_REPO_PASSWORD }}" -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}" clean deploy | ||
build-publish-package: | ||
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-java-publish-versioned-package.yaml@main | ||
with: | ||
release_type: 'Snapshot' | ||
publish_to_maven: ${{ inputs.publish_to_maven }} | ||
java_version: "11" | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.