Skip to content

Commit

Permalink
Added new release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasm-ttd committed Nov 23, 2023
1 parent b086baa commit 0d9bb75
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release-package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release Package
run-name: ${{ format('{0}', inputs.release_type == 'Snapshot' && 'Publish pre-release' || format('Release {0}', inputs.release_type))}} Package by @${{ github.actor }}
on:
pull_request:
workflow_dispatch:
inputs:
release_type:
type: choice
description: 'The type of release'
options:
- Major
- Minor
- Patch
- Snapshot
publish_to_maven:
description: 'True to publish the artifacts to maven repository, false to skip the step'
default: false
required: false
type: boolean

jobs:
build-publish-package:
uses: IABTechLab/uid2-shared-actions/.github/workflows/v2-shared-java-publish-versioned-package.yaml@tjm-UID2-2324-new-shared-java-package-pipeline
with:
release_type: ${{ inputs.release_type }}
publish_to_maven: ${{ inputs.publish_to_maven }}
secrets: inherit


0 comments on commit 0d9bb75

Please sign in to comment.