Skip to content

Commit 90c25d2

Browse files
committed
♻️ Download and install default Replicate models
1 parent 877331a commit 90c25d2

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/publish-maven-modules.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,21 @@ jobs:
2323
distribution: 'temurin'
2424
java-version: '21'
2525

26+
- name: Install Python dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install -r replicate-tools/requirements.txt
30+
31+
- name: Run replicate-tools to download JSON schemas
32+
env:
33+
REPLICATE_API_TOKEN: ${{ secrets.REPLICATE_API_TOKEN }}
34+
run: |
35+
cd replicate-tools
36+
python download_replicate_schemas.py
37+
2638
- name: Run Maven to generate Java models
2739
run: |
28-
mvn -B -ntp clean install -pl '!replicate-models'
40+
mvn -B -ntp clean install
2941
3042
- name: Deploy Maven artifact to GitHub Packages
3143
env:

0 commit comments

Comments
 (0)