Skip to content

Commit

Permalink
feat: test if boolean type
Browse files Browse the repository at this point in the history
  • Loading branch information
prakasa-tkpd committed Nov 23, 2023
1 parent 4606fef commit 39f1b9c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/check-if.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Check If"

on:
workflow_dispatch:
inputs:
cdn:
type: boolean
description: 'Upload assets to CDN'
required: true
default: false

jobs:
check-if:
runs-on: ubuntu-latest

steps:
# release assets to CDN
- name: Upload external assets to CDN
if: ${{ github.event.inputs.cdn }}
id: upload-cdn
run: |
echo "Call when cdn true"

0 comments on commit 39f1b9c

Please sign in to comment.