Skip to content

Commit

Permalink
fix env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
jonapich committed Jul 12, 2024
1 parent 0939426 commit 0dc0ea2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ runs:
env:
TGF_PATH: ${{ inputs.tgf-path }}
VERSION: ${{ inputs.ref }}
run: curl https://raw.githubusercontent.com/coveooss/tgf/$VERSION/get-latest-tgf.sh | bash
run: curl "https://raw.githubusercontent.com/coveooss/tgf/${VERSION}/get-latest-tgf.sh" | bash

- name: Install TGF (windows)
if: runner.os == 'Windows'
shell: powershell
shell: pwsh
env:
TGF_PATH: ${{ inputs.tgf-path }}
VERSION: ${{ inputs.ref }}
run: (Invoke-WebRequest https://raw.githubusercontent.com/coveooss/tgf/$VERSION/get-latest-tgf.ps1).Content | Invoke-Expression
run: (Invoke-WebRequest https://raw.githubusercontent.com/coveooss/tgf/${{ inputs.ref }}/get-latest-tgf.ps1).Content | Invoke-Expression

0 comments on commit 0dc0ea2

Please sign in to comment.