Skip to content

Commit

Permalink
use the called action's ref
Browse files Browse the repository at this point in the history
  • Loading branch information
jonapich committed Jul 12, 2024
1 parent c7638dc commit fc27b2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
required: false
ref:
description: The ref to use to run the install script.
default: master
default: ${{ github.action_ref }}
required: false

runs:
Expand All @@ -19,7 +19,7 @@ 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'
Expand Down

0 comments on commit fc27b2e

Please sign in to comment.