Skip to content

test: debug

test: debug #18

Workflow file for this run

name: Generate JSON Files
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create multiple JSON files
run: |
declare -a projects=("project1" "project2" "project3")
for project in "${projects[@]}"; do
cat <<EOF > "${project}.json"
{
"name": "$project",
"version": "1.0.0",
"description": "This is a JSON file for $project."
}
EOF
done