mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 13:06:34 +00:00
Create action.yml
This is only a sketch of moving the API work into reusable actions so far.
This commit is contained in:
parent
dc49b6d87c
commit
3a9ff40dda
27
.github/actions/FFmpeg/action.yml
vendored
Normal file
27
.github/actions/FFmpeg/action.yml
vendored
Normal 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}."
|
Loading…
Reference in New Issue
Block a user