Steps to reproduce:
git init.action.ymlname: 'Test'
inputs:
MyInput:
description: 'My input'
runs:
using: 'docker'
image: 'Dockerfile'
env:
MYINPUT: ${{ inputs.MyInput }}
DockerfileFROM ubuntu
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
entrypoint.sh#!/usr/bin/env bash
echo Input: $MYINPUT
.github/workflows/action.ymlname: Action
on: push
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
The script doesn't print my input.
% act -j Test
[Action/Test] 馃惓 docker run image=act-test:latest entrypoint=[] cmd=[]
| Input: ${{ inputs.MyInput }}
It prints ${{ inputs.MyInput }}, instead of the value of the variable.
Issue is stale and will be closed in 7 days unless there is new activity
Issue is stale and will be closed in 7 days unless there is new activity
Still valid.
Issue is stale and will be closed in 7 days unless there is new activity
Issue is stale and will be closed in 7 days unless there is new activity
Still valid.
Indeed valid
Most helpful comment
Still valid.