Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels