From b5e857f3cc884b6af65cb614412d68563602bea0 Mon Sep 17 00:00:00 2001 From: topi-banana Date: Wed, 12 Feb 2025 17:59:12 +0900 Subject: [PATCH] debug ci --- .github/workflows/build.yml | 1 + .github/workflows/scripts/summary.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d78bbf..ff09504 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,6 +80,7 @@ jobs: - name: Make build summary run: | + ls -lah python .github/workflows/scripts/summary.py env: TARGET_VERSION: ${{ inputs.target_version }} \ No newline at end of file diff --git a/.github/workflows/scripts/summary.py b/.github/workflows/scripts/summary.py index b8b805b..3ea51a3 100644 --- a/.github/workflows/scripts/summary.py +++ b/.github/workflows/scripts/summary.py @@ -33,7 +33,9 @@ def main(): for version in settings['versions']: game_versions = version['game_versions'].strip().replace('\r', '').replace('\n', ', ') platforms = version['platforms'].strip().replace('\r', '').replace('\n', ', ') - file_paths = glob.glob(f'build-artifacts/*-mc{version["version"]}-*.jar') + file_path = f'build-artifacts/*-mc{version["version"]}-*.jar' + print(file_path) + file_paths = glob.glob(file_path) print(file_paths) if len(file_paths) == 0: file_name = '*not found*'