Skip to content

strategy.matrix does not pass variables / secrets into workflow #1591

@vbohn-nelnet

Description

@vbohn-nelnet

Describe the bug
When trying to include variables such as secrets in the strategy.matrix, the job fails with an "Invalid Workflow file error."

To Reproduce
Use the example from the Context and Expression syntax guide from the GitHub Actions docs (https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#example-6)
Push up to any repo
The workflow file error will come up immediately

Expected behavior
Github should run both workflows with respective variables being passed in simultaneously.

Runner Version and Platform

Version of your runner? ubuntu-latest

OS of the machine running the runner? OSX/Windows/Linux/...

What's not working?

The error text is:
"Invalid workflow file
You have an error in your yaml syntax on line ___"

Job Log Output

No diagnostic logs available

Runner and Worker's Diagnostic Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions