Pin GITHUB_SERVER_URL to /git subpath so checkout/API resolve
CI / build-and-smoke (push) Failing after 35s
CI / build-and-smoke (push) Failing after 35s
act_runner reports GITHUB_SERVER_URL without the instance's /git subpath, so actions/checkout cloned https://octowow.st/paste/... (404). Pin the correct base at job level until the server ROOT_URL is fixed.
This commit is contained in:
@@ -10,6 +10,12 @@ on:
|
||||
jobs:
|
||||
build-and-smoke:
|
||||
runs-on: ubuntu-latest
|
||||
# This Gitea instance is served under the /git subpath, but act_runner
|
||||
# reports GITHUB_SERVER_URL as https://octowow.st (subpath dropped), which
|
||||
# makes actions/checkout (and API calls) build the wrong URL. Pin it.
|
||||
# The real fix is the server's ROOT_URL = https://octowow.st/git/ (admin).
|
||||
env:
|
||||
GITHUB_SERVER_URL: https://octowow.st/git
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
#
|
||||
# Requires: Actions enabled on the repo, and a runner advertising `ubuntu-latest`
|
||||
# (or change runs-on to a label your act_runner registers).
|
||||
#
|
||||
# NOTE: octowow.st is served under the /git subpath. act_runner reports
|
||||
# GITHUB_SERVER_URL without it, breaking checkout and the release API calls, so
|
||||
# we pin GITHUB_SERVER_URL below. Drop this once the server's ROOT_URL is fixed.
|
||||
|
||||
name: Release MPQ
|
||||
on:
|
||||
@@ -14,6 +18,8 @@ on:
|
||||
jobs:
|
||||
package:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GITHUB_SERVER_URL: https://octowow.st/git
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user