mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-08-14 06:51:52 +02:00
The runner is an application, not a library. `act/model` and `act/exprparser` were the last packages anything outside this repository consumed and they now live in actionslib, so nothing needs the rest of `act` to be importable, and keeping it importable invites the coupling that was just removed. Import paths only, the files are unchanged. Assisted-by: Codet:GPT-5.1-Codex
32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
on: push
|
|
|
|
# Exercises the reusable-workflow caller path against a local reusable workflow: passing typed
|
|
# inputs and secrets (both an explicit map and `inherit`), and reading the called workflow's
|
|
# outputs back through `needs`.
|
|
jobs:
|
|
reusable-workflow:
|
|
uses: ./.github/workflows/local-reusable-workflow.yml
|
|
with:
|
|
string_required: string
|
|
bool_required: ${{ true }}
|
|
number_required: 1
|
|
secrets:
|
|
secret: keep_it_private
|
|
|
|
reusable-workflow-with-inherited-secrets:
|
|
uses: ./.github/workflows/local-reusable-workflow.yml
|
|
with:
|
|
string_required: string
|
|
bool_required: ${{ true }}
|
|
number_required: 1
|
|
secrets: inherit
|
|
|
|
output-test:
|
|
runs-on: ubuntu-latest
|
|
needs:
|
|
- reusable-workflow
|
|
- reusable-workflow-with-inherited-secrets
|
|
steps:
|
|
- run: '[[ "${{ needs.reusable-workflow.outputs.output == ''string'' }}" = "true" ]] || exit 1'
|
|
- run: '[[ "${{ needs.reusable-workflow-with-inherited-secrets.outputs.output == ''string'' }}" = "true" ]] || exit 1'
|