Skip to content
This repository was archived by the owner on Mar 24, 2020. It is now read-only.
This repository was archived by the owner on Mar 24, 2020. It is now read-only.

Is steps.ruby.outputs.ruby-path necessary? #8

@eregon

Description

@eregon

The README shows:

    - name: Print version
      run: ${{ steps.ruby.outputs.ruby-path }} --version

Is there a reason to use ${{ steps.ruby.outputs.ruby-path }} --version instead of just ruby --version?

It seems the installed Ruby's bin directory is added to PATH:

core.addPath(`${process.env.HOME}/local/rubies/${rubyVersion}/bin`)

And that should be enough, just like setup-ruby and every other CI.
So I would suggest to simplify in the README, and not need an output variable as that's quite verbose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions