Skip to content

Alex079/setup-custom-tool

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Setup custom tool

This action can download, unpack, and add to PATH a tool of your choice. The supported archive types are .tar, .zip, .7z, .xar. The unpacked tool can be cached and reused. Glob expression is used to find folders to add to PATH. See Toolkit for more details about github toolkit.

Usage

Parameters

See action.yml for parameters description.

Example

name: My build
on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
jobs:
  build:
    runs-on: ${{matrix.os}}
    strategy:
      matrix:
        os:
          - ubuntu-latest
          - windows-latest
          - macos-latest
    steps:
      - name: Checkout current repository
        uses: actions/checkout@v4
      - name: Deploy 'customTool'
        uses: Alex079/setup-custom-tool@v2
        with:
          archiveUrl: <direct download URL of 'customTool' archive>
          archiveGlob: '*/bin'
      - name: Run 'customTool' on current repository
        run: customTool -f ./

About

This action can download, unpack, and add to PATH a tool of your choice

Resources

License

Stars

Watchers

Forks