-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add inputs and outputs to action.yml
- Loading branch information
1 parent
aeeb394
commit d4071ca
Showing
1 changed file
with
15 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
name: Setup ffmpeg | ||
description: Setup ffmpeg in GitHub Actions | ||
|
||
name: Setup FFmpeg | ||
description: 'Download, cache and add to PATH ffmpeg and ffprobe binaries.' | ||
author: Federico Carboni | ||
inputs: | ||
ffmpeg-version: | ||
required: false | ||
description: 'Version of ffmpeg to use. Version Spec is only fully supported on Windows.' | ||
default: release | ||
architecture: | ||
description: 'Target architecture for FFmpeg, on Windows and MacOS only x64 is supported; on Linux arm64 may also be used. Defaults to the system architecture.' | ||
github-token: | ||
required: false | ||
default: ${{ github.token }} | ||
|
||
description: 'Used to pull Windows builds from GyanD/codexffmpeg. Since there's a default, this is typically not supplied by the user unless running GHES.' | ||
default: ${{ github.server_url == 'https://github.com' && github.token || '' }} | ||
outputs: | ||
ffmpeg-version: | ||
description: The installed ffmpeg version | ||
ffmpeg-path: | ||
description: Path to the ffmpeg binaries | ||
cache-hit: | ||
description: A boolean value to indicate whether the tool cache was hit | ||
runs: | ||
using: node20 | ||
main: dist/index.js |