1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-19 01:46:16 +00:00

upgrade runner to v2.1.0 by default

This commit is contained in:
Earl Warren 2023-07-02 12:13:54 +02:00
parent fa0a2eedf3
commit 45ca5972d0
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ It can only be run on the `self-hosted` platform, running on a host with LXC ins
| user | Administrator user name | `false` | root |
| password | Administrator password | `false` | admin1234 |
| runner | Runner git repository | `false` | https://code.forgejo.org/forgejo/runner |
| runner-version | Runner version | `false` | v2.0.0 |
| runner-version | Runner version | `false` | v2.1.0 |
| container | Name of the container running the Forgejo instance | `false` | forgejo |
| lxc-ip-prefix | Class C IP prefix used by LXC | `false` | 10.0.23 |
<!-- action-docs-inputs -->

View file

@ -49,7 +49,7 @@ inputs:
default: 'https://code.forgejo.org/forgejo/runner'
runner-version:
description: 'Runner version'
default: 'v2.0.0'
default: 'v2.1.0'
container:
description: 'Name of the container running the Forgejo instance'
default: 'forgejo'

View file

@ -36,7 +36,7 @@ function run() {
function setup() {
local runner_repository="${1:-https://code.forgejo.org/forgejo/runner}"
local version="${2:-v2.0.0}"
local version="${2:-v2.1.0}"
local forgejo="${3:-http://$(cat forgejo-ip):3000/}"
dependencies