addnab / docker-run-action

MIT License
209 stars 93 forks source link

$GITHUB_ENV: ambiguous redirect #26

Open orihomie opened 3 years ago

orihomie commented 3 years ago
  -  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 commented 1 year ago

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 commented 1 year ago

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