Skip to content

Not running on windows-latest Github runner #83

Closed
@vinothsparrow

Description

@vinothsparrow

Describe the problem

Getting this error while running on windows Github runner

Error: Error: Unable to locate executable file: powershell. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.

Screenshot 2023-05-31 at 2 34 44 PM

To reproduce

name: Dev
on:
  push:
    branches: [dev]

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [windows-latest]
    steps:
      - uses: actions/checkout@v3
      - name: install nodejs & yarn
        uses: actions/setup-node@v3
        with:
          node-version: 16
       - name: Install Protoc
         uses: arduino/setup-protoc@v2
         with:
          version: "23.x"

Expected behavior

step successful

'arduino/setup-protoc' version

2.0.0

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions