Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
new operator
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ducks authored Oct 5, 2022
1 parent 7a13a44 commit f339740
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ runs:
echo "${{ github.action_path }}"
echo "${{ github.action_path }}/default-aws-config"
echo ${{ inputs.aws-config-path }}
if [ -f ${{ inputs.aws-config-path }} ];then echo "input is valid, apparently"; fi
if [ -f ${{ inputs.aws-config-path }} ];then echo "${{ inputs.aws-config-path }}"; else echo "${{ github.action_path }}/default-aws-config"; fi
cp $(if [ -f ${{ inputs.aws-config-path }} ];then echo "${{ inputs.aws-config-path }}"; else echo "${{ github.action_path }}/default-aws-config"; fi) ~/.aws/config
if [ ! -s ${{ inputs.aws-config-path }} ];then echo "input is valid, apparently"; fi
if [ ! -s ${{ inputs.aws-config-path }} ];then echo "${{ inputs.aws-config-path }}"; else echo "${{ github.action_path }}/default-aws-config"; fi
cp $(if [ ! -s ${{ inputs.aws-config-path }} ];then echo "${{ inputs.aws-config-path }}"; else echo "${{ github.action_path }}/default-aws-config"; fi) ~/.aws/config
- name: setup python
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit f339740

Please sign in to comment.