Skip to content

Commit 4e1175f

Browse files
committed
cache: pip
1 parent 2133d72 commit 4e1175f

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,18 @@ jobs:
106106

107107
steps:
108108
- uses: actions/checkout@v6
109+
110+
- name: Declare python dependencies
111+
run: |
112+
cat <<EOF > ci_summary_requirements.txt
113+
jproperties
114+
EOF
115+
109116
- uses: actions/setup-python@v6
110117
with:
111118
python-version: 3.14
119+
cache: pip
120+
cache-dependency-path: ci_summary_requirements.txt
112121

113122
- name: List artifacts
114123
uses: actions/github-script@v8
@@ -130,7 +139,7 @@ jobs:
130139

131140
- name: Make build summary
132141
run: |
133-
pip install jproperties
142+
pip install -r ci_summary_requirements.txt
134143
python .github/workflows/scripts/summary.py
135144
env:
136145
TARGET_SUBPROJECT: ${{ inputs.target_subproject }}

.github/workflows/scripts/summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def main():
5050

5151
with open(os.environ['GITHUB_STEP_SUMMARY'], 'w') as f:
5252
f.write('## Build Artifacts Summary\n\n')
53-
f.write('| Subproject | for Minecraft | File | Size | SHA-256 |\n')
53+
f.write('| Subproject | For Minecraft | File | Size | SHA-256 |\n')
5454
f.write('| --- | --- | --- | --- | --- |\n')
5555

5656
for subproject in settings['versions']:

0 commit comments

Comments
 (0)