lukka / run-cmake

GitHub Action to build C++ applications with CMake (CMakePresets.json), Ninja and vcpkg on GitHub.
MIT License
176 stars 19 forks source link

Unrecognized named-value: 'env' #11

Closed justusranvier closed 4 years ago

justusranvier commented 4 years ago

Sometime within the last few days all attempts to use run-cmake are failing with this error:

Current runner version: '2.168.0'
Operating System
Virtual Environment
Prepare workflow directory
Prepare all required actions
Download action repository 'actions/checkout@v1'
Download action repository 'actions/cache@v1'
Download action repository 'lukka/run-vcpkg@v1'
Download action repository 'lukka/run-cmake@v1'
##[error](Line: 34, Col: 14):
##[error](Line: 34, Col: 14): Unrecognized named-value: 'env'. Located at position 1 within expression: env.RUNVCPKG_VCPKG_TRIPLET
##[error]Fail to load /home/runner/work/_actions/lukka/run-cmake/v1/action.yml
lukka commented 4 years ago

@justusranvier thanks for reporting this!

It looks like a regression on the test runner?

All latest validation of the action are using the runner 'Current runner version: '2.165.2''.

I might think of a quick workaround about this anyway.

lukka commented 4 years ago

@justusranvier looks like the GitHub hosted environments use the runner version 2.165.2. I assume this problem is only occurring on a self-hosted runner. Is this correct?

justusranvier commented 4 years ago

No, it's not self-hosted. Probably github is still in the process of rolling out a new version.

lukka commented 4 years ago

fixed in latest v1