Introduction
I'm currently working on a GitHub Action workflow that uses an array for input.
I used this solution to simulate an array:
- uses: actions/my-custom-ci
with:
subdirectories: src/main/java src/test/java
Problem
But I want to use a solution like this:
- uses: actions/my-custom-ci
with:
subdirectories:
- src/main/java
- src/test/java
Question
Is it possible to use an array input for custom GitHub Actions? If yes, how can we use an array input for custom GitHub Actions?