From 0dc0ea24ada6cf62eb7fbac4d32709fb65b38b57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Pich=C3=A9?= Date: Fri, 12 Jul 2024 16:03:49 -0400 Subject: [PATCH] fix env vars --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 49128fd..ffc37a0 100644 --- a/action.yml +++ b/action.yml @@ -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