Skip to content

Commit

Permalink
Tweak quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
alhankeser committed Jul 28, 2024
1 parent 24294ea commit 2367c7c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,15 +188,17 @@ runs:
echo "required_set=${required_set//$'\n'/ }" >> $GITHUB_OUTPUT
shell: bash
- name: Check Files
id: has_files
id: has_files_check
shell: bash
run: |
if [ "${{ steps.janitor_args.outputs.files }}" != "" ]; then
echo "true" >> $GITHUB_OUTPUT
if [ "${{ steps.janitor_args.outputs.files }}" == "" ]; then
echo "has_files=false" >> $GITHUB_OUTPUT
else
echo "has_files=true" >> $GITHUB_OUTPUT
fi
- name: Run Looker Janitor
id: looker_janitor
if: ${{ steps.has_files.outputs.has_files == "true" }}
if: ${{ steps.has_files_check.outputs.has_files == 'true' }}
run: |
python looker-janitor/main.py \
--files ${{ steps.janitor_args.outputs.files }} \
Expand Down

0 comments on commit 2367c7c

Please sign in to comment.