Created
October 8, 2019 05:38
-
-
Save mumoshu/47df2077bf161a81769c1a9f08736bdf to your computer and use it in GitHub Desktop.
GitHub Actions v2 Gotcha: It seems like we're unable to use ${{ inputs.. }} from within `runs.using` of action.yml :(
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'VariantRun' | |
description: 'Run Variant task defined in your Variantfile https://github.com/mumoshu/variant' | |
inputs: | |
image: | |
description: 'Docker image for Variant containers' | |
required: false | |
default: 'Dockerfile' | |
runs: | |
using: 'docker' | |
image: '${{ inputs.image }}' | |
branding: | |
icon: octagon | |
color: orange |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set up job1s | |
##[error]Fail to load /home/runner/work/_actions/variantdev/variant-action/master/action.yml | |
Current runner version: '2.158.0' | |
Prepare workflow directory | |
Prepare all required actions | |
Download action repository 'actions/checkout@v1' | |
Download action repository 'variantdev/variant-action@master' | |
##[error](Line: 10, Col: 10): | |
##[error](Line: 10, Col: 10): Unrecognized named-value: 'inputs'. Located at position 1 within expression: inputs.image | |
##[error]Fail to load /home/runner/work/_actions/variantdev/variant-action/master/action.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a really big bummer I ran into as well.