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.
See action.yml for parameters description.
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 ./
Setup custom tool is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.