Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/8.0.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
akantcheff committed Mar 14, 2024
2 parents 2247dc8 + 761230f commit f984384
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/_reusable_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ on:
type: string
default: snapshots::${{ vars.SNAPSHOTS_REPOSITORY_URL }}
description: Maven alternative repository to which the project artifacts should be deployed.
upload-release-asset:
release:
type: boolean
default: false
description: Set to `true` to upload assets to the GitHub Release.
description: To indicate that the current build is for a release.

secrets:
BONITA_CI_PAT:
Expand Down Expand Up @@ -57,6 +57,8 @@ jobs:
timeout-minutes: 60
run: ./mvnw -ntp deploy -DaltDeploymentRepository=${{ inputs.alt-deployment-repository }}

- name: Upload Github release asset
if: ${{ inputs.upload-release-asset }}
- name: Upload BOS to the Github release
if: ${{ inputs.release }}
env:
GH_TOKEN: ${{ secrets.BONITA_CI_PAT }}
run: gh release upload ${{ inputs.ref }} ./target/bonita-application-directory-${{ inputs.ref }}.bos

0 comments on commit f984384

Please sign in to comment.