Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
jonapich committed Jul 12, 2024
1 parent 576e1d7 commit 8f9eb98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ jobs:
with:
ref: ${{ github.head_ref }}

- run: tgf --help-tgf
- env:
TGF_EXEC: ${{ runner.os == 'Windows' && './tgf' || 'tgf' }}
run: $TGF_EXEC --help-tgf
10 changes: 1 addition & 9 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: GitHub Action to install https://github.com/coveooss/tgf

inputs:
tgf-path:
description: Installs the TGF binary to this folder. The folder will be added to the PATH.
description: Installs the TGF binary to this folder. The folder will not be added to the PATH.
required: false
ref:
description: The ref to use to run the install script.
Expand All @@ -30,11 +30,3 @@ runs:
VERSION: ${{ inputs.ref }}
run: |
(Invoke-WebRequest https://raw.githubusercontent.com/coveooss/tgf/${env:VERSION}/get-latest-tgf.ps1).Content | Invoke-Expression
#
# - name: Add TGF to PATH
# shell: bash
# env:
# SEPARATOR: ${{ runner.os == 'Windows' && ';' || ':' }}
# run: |
# location=
# echo "PATH=${PATH}${SEPARATOR}${TGF_PATH}" >> $GITHUB_ENV

0 comments on commit 8f9eb98

Please sign in to comment.