Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 1.21 KB

README.md

File metadata and controls

45 lines (38 loc) · 1.21 KB

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 ./