Create action.yml

This is only a sketch of moving the API work into reusable actions so far.
This commit is contained in:
tcely 2025-03-26 21:10:54 -04:00 committed by GitHub
parent dc49b6d87c
commit 3a9ff40dda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

27
.github/actions/FFmpeg/action.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: 'FFmpeg Builds'
description: 'Use GitHub CLI & API to retrieve information about FFmpeg Build releases.'
inputs:
who-to-greet: # id of input
description: 'Who to greet'
required: false
default: 'World'
outputs:
random-number:
description: "Random number"
value: ${{ steps.first.outputs.random-number }}
runs:
using: 'composite'
steps:
- name: First step
id: 'first'
env:
INPUT_WHO_TO_GREET: ${{ inputs.who-to-greet }}
shell: 'bash'
run: |
echo 'It worked!'
echo "random-number=${RANDOM}" >> "${GITHUB_OUTPUT}"
ls -al '${{ github.action_path }}'
echo "Hello ${INPUT_WHO_TO_GREET}."