Skip to content

Commit

Permalink
chore: Allow Manual Canary Release (SAP#3254)
Browse files Browse the repository at this point in the history
* fix manual release

* better name

* use 'true'
  • Loading branch information
FrankEssenberger authored Dec 22, 2022
1 parent a48b5a1 commit f66f2e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
matrix:
node-version: [18]
steps:
- name: Show input from dispatch event
run: echo "Canary release flag ${{ github.event.inputs.canary-release }}"
- uses: actions/checkout@v3
- run: git fetch --depth=1
- uses: actions/setup-node@v3
Expand Down Expand Up @@ -119,7 +121,7 @@ jobs:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
canary-release-pre-check:
if: ${{ github.event_name == 'workflow_dispatch' && inputs.canary-release == true || github.event_name == 'schedule' }}
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.canary-release == 'true' || github.event_name == 'schedule' }}
runs-on: ubuntu-latest
outputs:
skip: ${{ steps.date-check.outputs.skip }}
Expand Down

0 comments on commit f66f2e9

Please sign in to comment.