mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Revert "Disable manifest download for public build"
This reverts commit ea9bf2e146.
This commit is contained in:
parent
ea9bf2e146
commit
3ebd054bce
2 changed files with 4 additions and 6 deletions
1
.github/workflows/publish-publish.yml
vendored
1
.github/workflows/publish-publish.yml
vendored
|
|
@ -41,7 +41,6 @@ jobs:
|
|||
- name: Update Build Info
|
||||
env:
|
||||
FORK_ID: {{ vars.FORK_ID_PUBLIC }}
|
||||
DISABLE_MANIFEST: 1 # Use zip based download
|
||||
run: Tools/gen_build_info.py
|
||||
|
||||
- name: Shuffle files around
|
||||
|
|
|
|||
|
|
@ -20,8 +20,7 @@ SERVER_FILES = [
|
|||
]
|
||||
|
||||
VERSION = os.environ['GITHUB_SHA']
|
||||
FORK_ID = os.getenv('FORK_ID', "custom")
|
||||
DISABLE_MANIFEST = bool(os.getenv('DISABLE_MANIFEST', False))
|
||||
FORK_ID = os.environ.get('FORK_ID', "custom")
|
||||
BUILD_URL = f"https://builds.station14.ru/{{FORK_ID}}/builds/{{FORK_VERSION}}/{FILE}"
|
||||
MANIFEST_URL = f"https://cdn.station14.ru/{{FORK_ID}}/version/{{FORK_VERSION}}/manifest"
|
||||
MANIFEST_DOWNLOAD_URL = f"https://cdn.station14.ru/{{FORK_ID}}/version/{{FORK_VERSION}}/download"
|
||||
|
|
@ -52,9 +51,9 @@ def generate_build_json(file: str) -> str:
|
|||
"version": VERSION,
|
||||
"fork_id": FORK_ID,
|
||||
"engine_version": engine_version,
|
||||
"manifest_url": "" if DISABLE_MANIFEST else MANIFEST_URL,
|
||||
"manifest_download_url": "" if DISABLE_MANIFEST else MANIFEST_DOWNLOAD_URL,
|
||||
"manifest_hash": "" if DISABLE_MANIFEST else manifest_hash
|
||||
"manifest_url": MANIFEST_URL,
|
||||
"manifest_download_url": MANIFEST_DOWNLOAD_URL,
|
||||
"manifest_hash": manifest_hash
|
||||
})
|
||||
|
||||
def generate_manifest_hash(file: str) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue