Skip to content

Ignores version input #247

@pbrisbin

Description

@pbrisbin

I have a project that started failing because the latest version of pnpm is installed, despite us specifying the version input directly:

Image

It's a composite action with the following steps:

    - id: pnpm
      uses: pnpm/action-setup@v6
      with:
        version: "10.33.2"
        dest: ${{ github.action_path }}/setup-pnpm

    - shell: bash
      run: |
        ${{ steps.pnpm.outputs.bin_dest }}/pnpm --version
        ${{ steps.pnpm.outputs.bin_dest }}/pnpm install
      working-directory: ${{ github.action_path }}

And there's no version in package.json, we expect the version input to be respected.

{
  "devDependencies": {
    "pajv": "^1.2.0"
  }
}

Project: https://github.com/freckle/datadog-service-action

PR with failures: freckle/datadog-service-action#24.

This is happening with @v6 of the action, @v5 always worked correctly in this regard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions