1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-19 01:46:16 +00: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:
earl-warren 2023-11-09 15:56:13 +00:00
commit ca4548f34a

View file

@ -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: