Manual Packaging #7
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
# Unique name for this workflow | |
name: Manual Packaging | |
# Definition when the workflow should run | |
on: | |
workflow_dispatch: | |
inputs: | |
packageNames: | |
description: 'Name of packages that will be released' | |
required: true | |
default: '[]' | |
# Jobs to be executed | |
jobs: | |
trigger-packaging: | |
runs-on: trailheadapps-Ubuntu | |
steps: | |
# Trigger packaging workflow | |
- name: 'Trigger packaging workflow' | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
event-type: start-packaging | |
client-payload: '{ "ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "packageNames": ${{ github.event.inputs.packageNames }} }' |