Skip to content

Commit

Permalink
Add docker-compose install step in github workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
weixiang committed Sep 13, 2024
1 parent 5745d42 commit 68e166f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ runs:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-agent-test-run-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-agent-test-run-
- name: Install docker-compose
shell: bash
if: runner.os != 'Windows'
run: |
if ! command docker-compose 2>&1 > /dev/null; then
echo "Installing docker-compose"
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
fi
- name: Run Plugin Test ${{ inputs.test_case }}
shell: bash
run: |
Expand Down

0 comments on commit 68e166f

Please sign in to comment.