Getting error with workflow file

https://github.com/Margen67/cheat-engine/blob/actions/.github/workflows/main.yml

This is the error:

https://github.com/Margen67/cheat-engine/runs/231080800

- Your workflow file was invalid: Unrecognized named-value: 'G15'. Located at position 19 within expression: matrix['arch'] == G15

Am I doing something wrong?

Hi,

The env is not included in the matrix but involved as ‘matrix.paramter’ for the command, so they are not known. I copied your repro and make the code change as below, the workflows started as expected, thanks.

jobs:
  build:
    runs-on: windows-latest
    strategy:
      matrix:
        arch: [64, 32]
        lazarus-ver: [lazarus-2.0.4-61666]
        fpc-ver: [fpc-3.2.0-beta-42593]
        include:
          - arch: 64
            cpu: x86_64
            os: win64
          - arch: 32
            cpu: i386
            os: win32

3 Likes