-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/go_modules/github.com/docker/do…
…cker-25.0.5incompatible
- Loading branch information
Showing
9 changed files
with
89 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Install TGF | ||
description: GitHub Action to install https://github.com/coveooss/tgf | ||
|
||
inputs: | ||
tgf-path: | ||
description: | | ||
Installs the TGF binary to this folder. | ||
The folder will not be added to the PATH, but the defaults are typically already in the path. | ||
required: false | ||
default: ${{ runner.os == 'Windows' && '${env:LocalAppData}\Microsoft\WindowsApps' || '/usr/local/bin' }} | ||
ref: | ||
description: The ref to use to run the install script. | ||
default: ${{ github.action_ref }} | ||
required: false | ||
|
||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install TGF (posix) | ||
if: runner.os != 'Windows' | ||
shell: bash | ||
env: | ||
TGF_PATH: ${{ inputs.tgf-path }} | ||
VERSION: ${{ inputs.ref }} | ||
run: curl "https://raw.githubusercontent.com/coveooss/tgf/${VERSION}/get-latest-tgf.sh" | bash | ||
|
||
- name: Install TGF (windows) | ||
if: runner.os == 'Windows' | ||
shell: pwsh | ||
env: | ||
TGF_PATH: ${{ inputs.tgf-path }} | ||
VERSION: ${{ inputs.ref }} | ||
run: (Invoke-WebRequest https://raw.githubusercontent.com/coveooss/tgf/${env:VERSION}/get-latest-tgf.ps1).Content | Invoke-Expression |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters