Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate executable file: pwsh on Self-hosted GitHub Runner #55

Open
dmytro-orlenko opened this issue Dec 11, 2023 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@dmytro-orlenko
Copy link

Describe the bug
Error: Unable to locate executable file: pwsh. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

I've used Self-Hosted Github Runner on my own Kubernetes Cluster (1.28)
Runner work on image - summerwind/actions-runner-dind:v2.311.0-ubuntu-20.04

    - name: Publish Test Coverage Report
      id: jacoco_report
      uses: PavanMudigonda/[email protected]
      with:
        coverage_results_path: ${{ github.workspace }}/build/jacoco.xml
        coverage_report_name: Coverage
        coverage_report_title: JaCoCo
        github_token: ${{ secrets.GITHUB_TOKEN }}
        skip_check_run: false
        minimum_coverage: 80
        fail_below_threshold: false
        publish_only_summary: false
@PavanMudigondaTR PavanMudigondaTR self-assigned this Dec 19, 2023
@PavanMudigondaTR PavanMudigondaTR added the bug Something isn't working label Dec 19, 2023
@PavanMudigondaTR
Copy link
Collaborator

@dmytro-orlenko Thanks for reporting this. I can add extra step to detect presence of pwsh and if not found i can instal it via this github action ! I will fix this soon.

@PavanMudigondaTR PavanMudigondaTR added the enhancement New feature or request label Mar 31, 2024
@ChrisHLC
Copy link

Any news on this bug?
I have the same issue

@PavanMudigondaTR
Copy link
Collaborator

i will fix it this week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants