Skip to content

Commit

Permalink
feat: yml check
Browse files Browse the repository at this point in the history
  • Loading branch information
huyikun.hyk committed Feb 26, 2024
1 parent 4509b92 commit 7c11ff0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,13 @@ runs:
steps:
- run: ./script.sh ${{inputs.provider}} ${{ inputs.version }} ${{ inputs.account_id }} ${{ inputs.access_key_id }} ${{ inputs.access_key_secret }} ${{ inputs.access }}
shell: bash
if: ${{ inputs.provider === 'aliyun' }}

if: ${{inputs.provider}} == 'aliyun'
- run: ./script.sh ${{inputs.provider}} ${{ inputs.version }} ${{ inputs.account_id }} ${{ inputs.access_key_id }} ${{ inputs.access_key_secret }} ${{ inputs.access }}
shell: bash
if: ${{ inputs.provider === 'aws' }}

if: inputs.provider == 'aws'
- run: ./script.sh ${{inputs.provider}} ${{ inputs.version }} ${{ inputs.account_id }} ${{ inputs.access_key_id }} ${{ inputs.access_key_secret }} ${{ inputs.access }}
shell: bash
if: ${{ inputs.provider === 'tencent' }}

if: inputs.provider === 'tencent'
- run: ./script.sh ${{inputs.provider}} ${{ inputs.version }} ${{ inputs.account_id }} ${{ inputs.access_key_id }} ${{ inputs.access_key_secret }} ${{ inputs.access }}
shell: bash
if: ${{ inputs.provider === 'huawei' }}
if: inputs.provider === 'huawei'

0 comments on commit 7c11ff0

Please sign in to comment.