forked from forcedotcom/salesforcedx-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (27 loc) · 862 Bytes
/
approveAndPublishBeta.yml
File metadata and controls
28 lines (27 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Approve and Publish Beta Release Branch
on:
workflow_run:
workflows:
- Create and Test Beta Release Branch
types:
- completed
workflow_dispatch:
inputs:
runId:
description: 'Run ID of the workflow run that created the vsixes'
required: true
type: string
jobs:
confirm_publish:
environment: publish
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }} # Only run this if the previous workflow was successful
name: 'Confirm Publish Beta Release'
steps:
- run: echo "Please confirm to publish the beta release"
publish_beta:
needs: confirm_publish
uses: ./.github/workflows/publishBeta.yml
secrets: inherit
with:
runId: ${{ inputs.runId || github.event.workflow_run.id }}