Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

act does not support matrix variables with "-" in their names, GitHub does #337

Closed
adamtheturtle opened this issue Aug 17, 2020 · 3 comments

Comments

@adamtheturtle
Copy link

I had:

      matrix:
        python-version: [3.7, 3.8]

and

    steps:
      - uses: actions/checkout@v2
      - name: "Set up Python"
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python-version }}

This works on GitHub but act shows:

ERRO[0004] Unable to interpolate string '${{ matrix.python-version }}' - [ReferenceError: 'version' is not defined] 
@justincy
Copy link

Related: #315

@cdb
Copy link
Contributor

cdb commented Aug 31, 2020

@adamtheturtle - this looks like it was fixed just a couple days ago in 0.2.12 #287 (comment)

@adamtheturtle
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants