Skip to content

Update action.yml

Update action.yml #2

Workflow file for this run

name: Test Expect Self Parameter Action
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run expect-self-parameter action
uses: ./ # This points to the local action in the repository
with:
params: >
[
{"step_id": "foo", "param": "continue-on-error", "expected_value": "true"},
{"step_id": "bar", "param": "timeout-minutes", "expected_value": "10"}
]
- id: foo
run: echo hello
continue-on-error: true
- id: bar
run: sleep 5
timeout-minutes: 10