Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
topi-banana committed Feb 12, 2025
1 parent 4ac145f commit b5e857f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:

- name: Make build summary
run: |
ls -lah
python .github/workflows/scripts/summary.py
env:
TARGET_VERSION: ${{ inputs.target_version }}
4 changes: 3 additions & 1 deletion .github/workflows/scripts/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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*'
Expand Down

0 comments on commit b5e857f

Please sign in to comment.