I’m trying to run python tests on a Windows environment. These tests are using one application client. To run these tests, I have a step that installs this client binary before running these tests.
- name: Install minio client if: startsWith(runner.os, 'Windows') run: | curl "https://dl.min.io/client/mc/release/windows-amd64/mc.exe" --output mc.exe
Now I have to add this client to PATH. I tried to run this:
- name: Add minio client to path if: startsWith(runner.os, 'Windows') run: | echo "::add-path::$GITHUB_WORKSPACE\mc.exe"
but I don’t think it worked because my tests have failed due to a missing minio client.
What am I doing wrong? Thank you