From 1c75c21f76c1dc0f5d8b1b5d9defdd05eceb8723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristina=20Ca=C3=B1izales?= <113132642+CristiCanizales@users.noreply.github.com> Date: Wed, 29 May 2024 19:06:46 -0300 Subject: [PATCH] Create releaseBundle.yml --- .github/workflows/releaseBundle.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/releaseBundle.yml diff --git a/.github/workflows/releaseBundle.yml b/.github/workflows/releaseBundle.yml new file mode 100644 index 00000000..3418bbf5 --- /dev/null +++ b/.github/workflows/releaseBundle.yml @@ -0,0 +1,23 @@ +name: publish apex-node-bundle +on: + workflow_run: + workflows: + - manual release + types: + - completed + + workflow_dispatch: + inputs: + branch: + description: 'Set the branch to use for release' + type: string + required: false + default: 'main' + +jobs: + call-release-workflow: + if: ${{ inputs.branch || github.event_name == 'workflow_run' }} + uses: CristiCanizales/bundle-publish-scripts/.github/workflows/releaseWithCoreBundle.yml@main + secrets: inherit + with: + branch: ${{ inputs.branch || 'main'}}