Skip to content

Commit

Permalink
feat(gradle-library): pass on artifact input parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed Aug 21, 2024
1 parent 1cfa256 commit 7256ee1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/gradle-library-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ on:
description: If security scan and associated tasks should be skipped (e.g. in case no Gradle lock files are configured to be generated)
type: boolean
default: false
upload-artifact-path:
description: Path for artifact to upload (to reuse in another job)
type: string
default: ''
upload-artifact-name:
description: Name for artifact to upload (to reuse in another job)
type: string
default: build-artifact
secrets:
WETF_ARTIFACTORY_USER:
WETF_ARTIFACTORY_PASSWORD:
Expand All @@ -40,5 +48,7 @@ jobs:
expect-tests: ${{ inputs.expect-tests }}
checkout-ref: ${{ inputs.checkout-ref }}
skip-scan: ${{ inputs.skip-scan }}
upload-artifact-path: ${{ inputs.upload-artifact-path }}
upload-artifact-name: ${{ inputs.upload-artifact-name }}
notify-failure: false
secrets: inherit
10 changes: 10 additions & 0 deletions .github/workflows/gradle-library-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ on:
description: If security scan and associated tasks should be skipped (e.g. in case no Gradle lock files are configured to be generated)
type: boolean
default: false
upload-artifact-path:
description: Path for artifact to upload (to reuse in another job)
type: string
default: ''
upload-artifact-name:
description: Name for artifact to upload (to reuse in another job)
type: string
default: build-artifact
outputs:
release-published:
description: If a release was created
Expand All @@ -64,6 +72,8 @@ jobs:
expect-tests: ${{ inputs.expect-tests }}
checkout-ref: ${{ inputs.checkout-ref }}
skip-scan: ${{ inputs.skip-scan }}
upload-artifact-path: ${{ inputs.upload-artifact-path }}
upload-artifact-name: ${{ inputs.upload-artifact-name }}
semantic-release: ${{ inputs.semantic-release }}
semantic-release-dryrun: ${{ inputs.semantic-release-dryrun }}
secrets: inherit

0 comments on commit 7256ee1

Please sign in to comment.