Skip to content

Commit

Permalink
removing redundant prep step
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Oct 18, 2022
1 parent a75c60b commit 3693625
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,12 @@ runs:
echo "found=false" >> $GITHUB_OUTPUT
fi
- name: 'Prep - Unix-ish'
id: prep-unix
if: (runner.os == 'Linux' || runner.os == 'macOS') && (steps.yq-check-unix.outputs.found == 'false' || inputs.force == 'true')
shell: bash
run: |
echo '::group::Creating temp dir ${{ runner.temp }}/yq'
_dir='${{ runner.temp }}/yq'
mkdir -p "${_dir}"
echo "yq-bin-dir=${_dir}" >> $GITHUB_OUTPUT
echo '::endgroup::'
- name: 'Install yq - Unix-ish'
if: (runner.os == 'Linux' || runner.os == 'macOS') && (steps.yq-check-unix.outputs.found == 'false' || inputs.force == 'true')
shell: bash
env:
DL_COMPRESSED: "${{ inputs.download-compressed == 'true' }}"
YQ_VERSION: '${{ inputs.version }}'
YQ_BIN_DIR: '${{ steps.prep-unix.outputs.yq-bin-dir }}'
run: $GITHUB_ACTION_PATH/scripts/unixish.sh

- name: 'Check for yq - Windows-ish'
Expand Down

0 comments on commit 3693625

Please sign in to comment.