Skip to content

Added --auto feature for non-tty #2

Added --auto feature for non-tty

Added --auto feature for non-tty #2

Workflow file for this run

name: Test gh-install
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install extension locally
run: gh extension install .
- name: Test basic auto mode
run: |
gh install orf/gping --auto
gping --version
- name: Test with pattern filter
run: |
gh install BurntSushi/ripgrep --auto --pattern '*.tar.gz$'
rg --version
- name: Test with custom binary name
run: |
gh install sharkdp/fd --auto --name fdfind
fdfind --version
- name: Test with specific version
run: |
gh install cli/cli --auto --version v2.40.0
gh version | grep "2.40.0"