actions / actions/runner

Fail to load /home/runner/work/_actions/lukka/run-cmake/v1/action.yml`

Open
#407 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

future Runner Feature
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

Describe the bug
since runner version '2.168.0' my run-cmake is broken. It is working on Current runner version: '2.165.2'.

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`

My action.yml contains:

vcpkgTriplet:
    default: "${{ env.RUNVCPKG_VCPKG_TRIPLET }}"

To Reproduce
Use lukka/run-cmake@v1 action in your workflow on GitHub.

Expected behavior
vcpkgTriplet should be set to the value of the env var

Runner Version and Platform

Version of your runner?
'2.168.0'

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

What's not working?

The runner fails at parsing action.yml

Job Log Output

https://github.com/lukka/run-cmake/issues/11

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced action.yml at line 34 and reproduce the failure using runner version 2.168.0 with lukka/run-cmake@v1 on Linux. Trace the runner's parsing of the env.RUNVCPKG_VCPKG_TRIPLET expression in the action input default. Done means the action.yml loads successfully and vcpkgTriplet receives the environment variable value.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.