Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 778 Bytes

File metadata and controls

29 lines (23 loc) · 778 Bytes

ASDF Get Version

Returns the version of the plugin from .tool-versions file managed by asdf.

How-to Guides

Get Started

  1. Make sure actions/checkout action is used before this action.

  2. Add this action to your job in your workflow, here is an example:

    #...
    jobs:
      something:
        name: Setup NodeJS
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v2 # checkout the repository first
          - uses: straw-hat-team/github-actions-workflows/asdf/git-version@master
            id: nodejs-version
            with:
              plugin-name: nodejs
          - shell: sh
            run: |
              echo ${{ steps.nodejs-version.outputs.plugin-version }}