Skip to content

Commit

Permalink
chore: needs approval before build beta (#5643)
Browse files Browse the repository at this point in the history
* chore: needs approval before build beta

* chore: update wording
  • Loading branch information
mingxuanzhangsfdx authored Jun 14, 2024
1 parent b8ea51b commit 6b6754c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/createAndTestBetaReleaseBranch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,19 @@ jobs:
- id: branch
run: echo "branch=release/v${{ steps.version.outputs.version }}" >> $GITHUB_OUTPUT

confirm_build:
environment: publish
runs-on: ubuntu-latest
needs: create_branch
name: 'Confirm Beta Release Branch Release'
steps:
- run: echo "Please push your change to update versions for any dependencies if required"

run_build_and_test:
if: ${{ needs.create_branch.result == 'success' }} # Only run this if the previous job is successful
uses: ./.github/workflows/buildAndTest.yml
name: 'Run Build and Unit Test'
needs: create_branch
needs: [create_branch, confirm_build]
secrets: inherit
with:
branch: ${{needs.create_branch.outputs.branch}}
Expand Down

0 comments on commit 6b6754c

Please sign in to comment.