See trivial workflow that reproduces the problem: https://github.com/slonopotamus/asciidoctor-diagram/runs/434520900?check_suite_focus=true Before setup-ruby actions is called, there's `C:\ProgramData\Chocolatey\bin` on PATH. But it is gone after setup-ruby is called. For the reference, here's workflow file: ``` name: CI on: [push, pull_request] jobs: test: runs-on: windows-latest steps: - run: | echo "Before setup-ruby" $Env:Path choco --version - uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 - run: | echo "After setup-ruby" $Env:Path choco --version ```
See trivial workflow that reproduces the problem: https://github.com/slonopotamus/asciidoctor-diagram/runs/434520900?check_suite_focus=true
Before setup-ruby actions is called, there's
C:\ProgramData\Chocolatey\binon PATH. But it is gone after setup-ruby is called.For the reference, here's workflow file: