mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 02:01:02 -05:00
update the readme
This commit is contained in:
parent
45ca5972d0
commit
b4df9b6a67
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,11 @@ The forgejo-test-helper.sh script is available to help test and debug actions.
|
||||||
Create the repository `$forgejo/root/testrepo` and populate it with the
|
Create the repository `$forgejo/root/testrepo` and populate it with the
|
||||||
content of the `testrepo` directory. The SHA of the tip of the repository
|
content of the `testrepo` directory. The SHA of the tip of the repository
|
||||||
is in the output, starting with `sha=`.
|
is in the output, starting with `sha=`.
|
||||||
|
* `forgejo-test-helper.sh build_runner $forgejo/forgejo/runner v1.4.1`
|
||||||
|
Builds the forgejo runner from source in `./forgejo-runner/forgejo-runner`.
|
||||||
|
`export PATH=$(pwd)/forgejo-runner:$PATH` will ensure that calling `forgejo-runner.sh`
|
||||||
|
will use this binary instead of downloading a released version of the runner.
|
||||||
|
If the version is not specified, build from the main branch.
|
||||||
|
|
||||||
The combination of `push_self_action` and `run_workflow` allows to
|
The combination of `push_self_action` and `run_workflow` allows to
|
||||||
run Forgejo Actions workflows from `testrepo` that use the action
|
run Forgejo Actions workflows from `testrepo` that use the action
|
||||||
|
@ -55,6 +60,7 @@ It can only be run on the `self-hosted` platform, running on a host with LXC ins
|
||||||
| host-port | Host and port of the Forgejo instance, e.g 172.0.17.2:3000 |
|
| host-port | Host and port of the Forgejo instance, e.g 172.0.17.2:3000 |
|
||||||
| token | Administrator application token with all,sudo scopes |
|
| token | Administrator application token with all,sudo scopes |
|
||||||
| runner-logs | Filename of the Forgejo runner logs |
|
| runner-logs | Filename of the Forgejo runner logs |
|
||||||
|
| runner-file | Path to the runner file |
|
||||||
<!-- action-docs-outputs -->
|
<!-- action-docs-outputs -->
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
Loading…
Reference in a new issue