Files
gh-action-readme/testdata/yaml-fixtures/actions/composite/basic.yml
Ismo Vuorinen b80ecfce92 chore: even more linting, test fixes (#24)
* chore(lint): funcorder

* chore(lint): yamlfmt, ignored broken test yaml files

* chore(tests): tests do not output garbage, add coverage

* chore(lint): fix editorconfig violations

* chore(lint): move from eclint to editorconfig-checker

* chore(lint): add pre-commit, run and fix

* chore(ci): we use renovate to manage updates
2025-08-06 23:44:32 +03:00

27 lines
712 B
YAML

---
name: 'Basic Composite Action'
description: 'A simple composite action with basic steps'
inputs:
working-directory:
description: 'Working directory for commands'
required: false
default: '.'
outputs:
status:
description: 'Overall status of the workflow'
value: ${{ steps.final.outputs.status }}
runs:
using: 'composite'
steps:
- name: Setup
run: echo "Setting up environment"
shell: bash
- name: Main task
run: echo "Running main task in ${{ inputs.working-directory }}"
shell: bash
working-directory: ${{ inputs.working-directory }}
- name: Final step
id: final
run: echo "status=success" >> $GITHUB_OUTPUT
shell: bash