Skip to content

Commit

Permalink
Update gradle-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ds58 committed Sep 10, 2024
1 parent ae9217c commit 2d94553
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gradle-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
required: false
type: string
description: 'JSON array of repositories to checkout, repos are required to be in the ihmcrobotics org. Do not include ihmcrobotics in the name.'
default: [""]
subproject:
required: false
type: string
Expand All @@ -22,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
repo: ${{ inputs.repos != '' && fromJSON(inputs.repos) || [''] }}
repo: ${{ fromJSON(inputs.repos) }}
steps:
# Checkout repository-group
- name: Checkout repository-group
Expand All @@ -40,7 +41,7 @@ jobs:

# Try to checkout each required repo with the same branch name
- name: Checkout ${{ matrix.repo }}
if: ${{ inputs.repos }}
if: ${{ matrix.repo }} != ''
uses: actions/checkout@v4
with:
repository: ihmcrobotics/${{ matrix.repo }}
Expand Down

0 comments on commit 2d94553

Please sign in to comment.