Skip to content

Instantly share code, notes, and snippets.

@mumoshu mumoshu/action.yml
Created Oct 8, 2019

Embed
What would you like to do?
GitHub Actions v2 Gotcha: It seems like we're unable to use ${{ inputs.. }} from within `runs.using` of action.yml :(
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
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
You can’t perform that action at this time.