mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-02-06 04:45:52 +00:00
* 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
27 lines
712 B
YAML
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
|