Skip to content

Commit

Permalink
add inputs and outputs to action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
federicocarboni committed Dec 21, 2023
1 parent aeeb394 commit d4071ca
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions action.yml
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

0 comments on commit d4071ca

Please sign in to comment.