actions / setup-haskell

Set up your GitHub Actions workflow with a specific version of Haskell (GHC and Cabal)
MIT License
71 stars 30 forks source link

Error: The `add-path` on Windows #50

Closed phadej closed 4 years ago

phadej commented 4 years ago
Run actions/setup-haskell@v1.1
Preparing to setup a Haskell environment
Installing ghc version 8.6.5
  Error: Unable to process command '::add-path::C:\ProgramData\chocolatey\lib\ghc.8.6.5\tools\ghc-8.6.5\bin' successfully.
  Error: The `add-path` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

I think it's wrong from GitHub actions to straight way error on add-path rather then issue a warning and doing nothing. I'm also unsure whether the once published choco packages can be updated.

phadej commented 4 years ago

Ok, I see I have to use @v1.1.4