Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$GITHUB_ENV: ambiguous redirect #26

Open
orihomie opened this issue Aug 14, 2021 · 2 comments
Open

$GITHUB_ENV: ambiguous redirect #26

orihomie opened this issue Aug 14, 2021 · 2 comments

Comments

@orihomie
Copy link

  -  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

@heywoodlh
Copy link

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?

@orihomie
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants