Kir-Antipov/mc-publish

[Bug] Loaders as an array

Faboslav opened this issue · 0 comments

Description

Hello there, i am trying to do little bit more complex action on my side, my github (matrix)context is like the following for this specific run:

2024-01-20T13:23:49.7956867Z   workflow-job-context: {
  "branch": "1.19.2",
  "mod_loader": "fabric",
  "supported_mod_loaders": [
    "fabric",
    "quilt"
  ],
  "curseforge_id": "779833",
  "modrinth_id": "ECOSu6pa"
}

If i want to use mentioned supported_mod_loaders in the loaders field as following:
${{ matrix.supported_mod_loaders }} it doesnt work with error:
Error: The template is not valid. .github/workflows/publish.yml (Line: 139, Col: 30): A sequence was not expected.

Expected Behavior

Mentioned in general description.

Actual Behavior

Mentioned in general description.

Version

3.3.0

Environment

GitHub Actions

Configuration

No response

Logs

No response

Other Information

No response