Skip to content

Commit 22b5514

Browse files
committed
Add steps from ci.yml to deploy.yml
1 parent 4b40b74 commit 22b5514

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,29 @@ jobs:
2929
# Verify gpg secret key
3030
gpg --list-secret-keys --keyid-format LONG
3131
32+
# Begin copy from ci.yml. Refactor?
33+
34+
- name: Set up Python
35+
uses: actions/setup-python@v4
36+
with:
37+
python-version: '3.11'
38+
39+
- name: Install zarrita
40+
run: |
41+
python -m venv venv_zarrita
42+
if [ "${{ runner.os }}" = "Windows" ]; then venv_zarrita/Scripts/pip install zarrita; else venv_zarrita/bin/pip install zarrita; fi
43+
44+
- name: Download testdata
45+
run: |
46+
mkdir testoutput
47+
curl https://static.webknossos.org/data/zarr_v3/l4_sample.zip -o testdata/l4_sample.zip
48+
cd testdata
49+
unzip l4_sample.zip
50+
51+
# End copy from ci.yml
52+
3253
- name: Publish package
33-
run: mvn --batch-mode deploy
54+
run: mvn --batch-mode deploy -DargLine="-Xmx6g"
3455
env:
3556
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
3657
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)