docker-run-action icon indicating copy to clipboard operation
docker-run-action copied to clipboard

$GITHUB_ENV: ambiguous redirect

Open orihomie opened this issue 3 years ago • 2 comments

  -  name: Test
      uses: addnab/docker-run-action@v3
    
      with:
        image: alpine
        options: --rm -i -v ${{ github.workspace }}:/app -w=/app
        run: |
          echo "Start"
          echo "DEPLOY_STATE=successful" >> $GITHUB_ENV

gives ambiguous redirect exception, could workaround this by adding another trailing echo

orihomie avatar Aug 14 '21 05:08 orihomie

I've been running into this and have tried working around this and can't seem to figure it out. What do you mean by this being worked around with a "trailing echo". Do you just mean running an additional echo command in your run block?

heywoodlh avatar Dec 16 '22 22:12 heywoodlh

I've been running into this and have tried working around this and can't seem to figure it out. What do you mean by this being worked around with a "trailing echo". Do you just mean running an additional echo command in your run block?

Yes

orihomie avatar Dec 17 '22 05:12 orihomie