Skip to content

Commit

Permalink
Take fork_id from workflow env
Browse files Browse the repository at this point in the history
  • Loading branch information
Morb0 committed Oct 3, 2023
1 parent 833ee6b commit a88c257
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/publish-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
Tools/package_client_build.py
- name: Update Build Info
env:
FORK_ID: "syndicate-public"
run: Tools/gen_build_info.py

- name: Shuffle files around
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
Tools/package_client_build.py
- name: Update Build Info
env:
FORK_ID: "syndicate"
run: Tools/gen_build_info.py

- name: Shuffle files around
Expand Down
2 changes: 1 addition & 1 deletion Tools/gen_build_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]

VERSION = os.environ['GITHUB_SHA']
FORK_ID = "syndicate"
FORK_ID = os.environ['FORK_ID']
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"
Expand Down

0 comments on commit a88c257

Please sign in to comment.