Skip to content

Commit

Permalink
append mcdreforged package to requirements to verify
Browse files Browse the repository at this point in the history
better than without
  • Loading branch information
Fallen-Breath committed May 21, 2024
1 parent d228ee9 commit ccb2936
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/verify_extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ jobs:
- name: Verify Installability
run: |
python3 -m pip install -U pip
output=$(pip3 install --dry-run --no-deps -I --report - --quiet mcdreforged 2>/dev/null)
mcdr_version=$(echo -E "$output" | jq '.install[0].metadata.version' -r)
if [ -z $mcdr_version ]; then
echo "MCDR version not found. pip output:"
echo -E "$output"
exit 1
fi
echo "Latest MCDR version = $mcdr_version"
echo "mcdreforged==$mcdr_version" >> src/requirements_extra.txt
pip3 install -r src/requirements_extra.txt
echo "# Installation Summary (python ${{matrix.python}})" >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit ccb2936

Please sign in to comment.