Skip to content

Commit

Permalink
TEST: curesuploadpy
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTJP committed Dec 8, 2024
1 parent cfaf2c5 commit 9366117
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fire==0.4.0
fire==0.4.0
curseuploadpy @ git+https://github.com/MrTJP/curseuploadpy.git@dev
28 changes: 28 additions & 0 deletions .github/workflows/verify-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,31 @@ jobs:
with:
name: project-red-${{ steps.versioning.outputs.version }}
path: '*/build/libs/ProjectRed-*.jar'

- name: TEST curseforgepy
continue-on-error: true
run: |
COMMON_ARGS="\
-k \"$CURSE_TOKEN\" \
-rt $CURSE_RELEASE_TYPE \
-v \"Java 17\" \
-v 1.20.4 \
-v NeoForge \
-c ./CHANGELOG.md \
--dry-run "
MODULE_ARGS="\
$COMMON_ARGS \
--required-dep project-red-core"
python -m curseuploadpy $COMMON_ARGS -p 228702 -f core/build/libs/*-core.jar -rd codechicken-lib-1-8 -rd cb-multipart
python -m curseuploadpy $MODULE_ARGS -p 229048 -f expansion/build/libs/*-expansion.jar
python -m curseuploadpy $MODULE_ARGS -p 229049 -f exploration/build/libs/*-exploration.jar
python -m curseuploadpy $MODULE_ARGS -p 230111 -f fabrication/build/libs/*-fabrication.jar -rd project-red-integration -rd project-red-transmission
python -m curseuploadpy $MODULE_ARGS -p 229046 -f illumination/build/libs/*-illumination.jar
python -m curseuploadpy $MODULE_ARGS -p 229045 -f integration/build/libs/*-integration.jar
python -m curseuploadpy $MODULE_ARGS -p 478939 -f transmission/build/libs/*-transmission.jar
env:
CURSE_RELEASE_TYPE: ${{ steps.release_type.outputs.release_type }}
CURSE_TOKEN: ${{ secrets.CURSE_TOKEN }}

0 comments on commit 9366117

Please sign in to comment.