mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 18:30:56 -05:00
re-use forgejo-url
This commit is contained in:
parent
82e6d3ec27
commit
372b23108c
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ function setup() {
|
||||||
local runner_repository="${1:-${default_runner_repository}}"
|
local runner_repository="${1:-${default_runner_repository}}"
|
||||||
local default_version="$(cat $SELF_DIR/RUNNER_VERSION)"
|
local default_version="$(cat $SELF_DIR/RUNNER_VERSION)"
|
||||||
local version="${2:-${default_version}}"
|
local version="${2:-${default_version}}"
|
||||||
local forgejo="${3:-http://$(cat $DIR/forgejo-ip):3000/}"
|
local forgejo="${3:-$(cat $DIR/forgejo-url)}"
|
||||||
|
|
||||||
dependencies
|
dependencies
|
||||||
if [[ "$version" =~ ^@ ]] ; then
|
if [[ "$version" =~ ^@ ]] ; then
|
||||||
|
|
Loading…
Reference in a new issue