mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-30 10:11:03 -05:00
Merge pull request 'link to the LXC runs-on documentation' (#96) from earl-warren/setup-forgejo:wip-tests into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/96 Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
This commit is contained in:
commit
ca4548f34a
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.
|
||||
<!-- 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 -->
|
||||
## Inputs
|
||||
|
@ -68,9 +69,9 @@ name: Setup Forgejo
|
|||
on: [push]
|
||||
jobs:
|
||||
setup-forgejo:
|
||||
runs-on: self-hosted
|
||||
runs-on: lxc
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- id: forgejo
|
||||
uses: actions/setup-forgejo@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue