Skip to content

Commit

Permalink
wip: fixes logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Aug 29, 2024
1 parent 6f1b6da commit ecfec4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions forge/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ runs:
using: composite
steps:
- name: Check if earthly is installed
continue-on-error: true
id: check
shell: bash
run: |
if ! command -v earthly &> /dev/null; then
echo "found=false" >> $GITHUB_ENV
echo "found=false" >> $GITHUB_OUTPUT
else
echo "found=true" >> $GITHUB_ENV
echo "found=true" >> $GITHUB_OUTPUT
fi
- name: Install Earthly
uses: earthly/actions-setup@v1
Expand Down

0 comments on commit ecfec4c

Please sign in to comment.