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 85c98d1
Show file tree
Hide file tree
Showing 2 changed files with 31 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
29 changes: 29 additions & 0 deletions .github/workflows/verify-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
build_test:
name: Build and Test
runs-on: ubuntu-latest
environment: prod
steps:
- name: Checkout git repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -91,3 +92,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 \
--dryrun "
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: alpha
CURSE_TOKEN: ${{ secrets.CURSE_TOKEN }}

0 comments on commit 85c98d1

Please sign in to comment.