Skip to content

Commit

Permalink
Quote CLI arguments for better error handling if action input has emp…
Browse files Browse the repository at this point in the history
…ty strings
  • Loading branch information
ConorMacBride committed Jan 23, 2024
1 parent ca6d20a commit e3a6221
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ runs:
- name: Upload to Anaconda.org
run: |
conda install --yes anaconda-client
anaconda --token ${{ inputs.anaconda_token }} upload \
--user ${{ inputs.anaconda_user }} \
anaconda --token "${{ inputs.anaconda_token }}" upload \
--user "${{ inputs.anaconda_user }}" \
--skip-existing \
dist/*
shell: bash -l {0}
Expand All @@ -46,8 +46,8 @@ runs:
- name: Clean up old wheels on Anaconda.org
run: |
python ${{ github.action_path }}/remove_old_wheels.py \
--token ${{ inputs.anaconda_token }} \
--user ${{ inputs.anaconda_user }} \
--package ${{ inputs.anaconda_package }} \
--token "${{ inputs.anaconda_token }}" \
--user "${{ inputs.anaconda_user }}" \
--package "${{ inputs.anaconda_package }}" \
--keep ${{ inputs.keep_n_latest }}
shell: bash -l {0}

0 comments on commit e3a6221

Please sign in to comment.