Skip to content

Commit

Permalink
support ee in main action
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Jun 5, 2024
1 parent 1797d69 commit 0aeb3fe
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ description: Manage terraform collaboration
author: Digger

inputs:
ee:
description: use ee cli?
required: false
default: 'false'
setup-aws:
description: Setup AWS
required: false
Expand Down Expand Up @@ -350,7 +354,11 @@ runs:
id: digger
shell: bash
run: |
curl -sL https://github.com/diggerhq/digger/releases/download/${actionref}/digger-cli-${{ runner.os }}-${{ runner.arch }} -o digger
if [[ -z ${{ inputs.ee }} ]]; then
curl -sL https://github.com/diggerhq/digger/releases/download/${actionref}/digger-ee-cli-${{ runner.os }}-${{ runner.arch }} -o digger
else
curl -sL https://github.com/diggerhq/digger/releases/download/${actionref}/digger-cli-${{ runner.os }}-${{ runner.arch }} -o digger
fi
chmod +x digger
PATH=$PATH:$(pwd)
cd $GITHUB_WORKSPACE
Expand Down

0 comments on commit 0aeb3fe

Please sign in to comment.