The seed commit said `uses:` did not work. That was measured while this repo was private and is no longer true: with the full URL it works, and the action's outputs.path reaches the caller and can run the tools. The bare owner/repo form still fails - it resolves against the instance default actions URL, not this host - so the README says which to use and why, with the per-form results. Co-authored-by: bit <bit@das-labor.org>
22 lines
759 B
YAML
22 lines
759 B
YAML
# Makes the shared tools available to a workflow and reports where they are.
|
|
#
|
|
# Consume it with the **full URL** - `uses: https://git.chaosbit.de/weblib/
|
|
# weblib-ci@main`. The bare `weblib/weblib-ci@main` form resolves against the
|
|
# instance's default actions URL rather than this host and fails. Both forms
|
|
# failed while this repo was private; see the README table.
|
|
name: weblib CI tools
|
|
description: Shared CI scripts for the weblib repos.
|
|
|
|
outputs:
|
|
path:
|
|
description: Directory holding with-nixpkgs.sh and the python tools.
|
|
value: ${{ github.action_path }}
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- shell: bash
|
|
run: |
|
|
echo "weblib-ci tools at ${{ github.action_path }}"
|
|
test -f "${{ github.action_path }}/with-nixpkgs.sh"
|