mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 21:40:59 -05:00
link to the LXC runs-on documentation
This commit is contained in:
parent
13e4980952
commit
d660cf008d
1 changed files with 4 additions and 3 deletions
|
@ -30,7 +30,8 @@ The [forgejo-curl.sh](https://code.forgejo.org/forgejo/forgejo-curl#forgejo-curl
|
||||||
script is logged in the instance and ready to be used with web or api endpoints.
|
script is logged in the instance and ready to be used with web or api endpoints.
|
||||||
<!-- action-docs-description -->
|
<!-- action-docs-description -->
|
||||||
|
|
||||||
It can only be run on the `self-hosted` platform, running on a host with LXC installed.
|
It can only be used in a job with a `runs-on` label that designates a Forgejo runner
|
||||||
|
that [provides a LXC container](https://forgejo.org/docs/next/user/actions/#jobsjob_idruns-on).
|
||||||
|
|
||||||
<!-- action-docs-inputs -->
|
<!-- action-docs-inputs -->
|
||||||
## Inputs
|
## Inputs
|
||||||
|
@ -68,9 +69,9 @@ name: Setup Forgejo
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
setup-forgejo:
|
setup-forgejo:
|
||||||
runs-on: self-hosted
|
runs-on: lxc
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- id: forgejo
|
- id: forgejo
|
||||||
uses: actions/setup-forgejo@v1
|
uses: actions/setup-forgejo@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue