Skip to content

Commit f72fc4a

Browse files
committed
use ice action
1 parent bd7e825 commit f72fc4a

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.github/workflows/workflow.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,26 +38,11 @@ jobs:
3838
--health-retries 5
3939
steps:
4040
- uses: actions/checkout@v2
41-
- uses: actions/setup-python@v2
42-
with:
43-
python-version: ${{ matrix.python-version }}
44-
- name: Set up JDK 11
45-
uses: actions/setup-java@v1
46-
with:
47-
java-version: 11
48-
- name: Install slice2java
49-
run: |
50-
sudo apt-get install -y libmcpp-dev
51-
wget -q https://github.com/ome/zeroc-ice-ubuntu2004/releases/download/0.2.0/ice-3.6.5-0.2.0-ubuntu2004-amd64.tar.gz
52-
tar xf ice-3.6.5-0.2.0-ubuntu2004-amd64.tar.gz
53-
mv ice-3.6.5-0.2.0 ice-3.6.5
54-
mv ice-3.6.5 /opt
55-
rm ice-3.6.5-0.2.0-ubuntu2004-amd64.tar.gz
56-
echo "/opt/ice-3.6.5/bin" >> $GITHUB_PATH
41+
- name: Install Ice Java and Python binding
42+
uses: jburel/action-ice@09f08af6afa068d8a20dd46b52792eca6748062f
5743
- name: Install Python dependencies
5844
run: |
5945
pip install flake8 tox wheel pytest
60-
pip install https://github.com/ome/zeroc-ice-ubuntu2004/releases/download/0.2.0/zeroc_ice-3.6.5-cp38-cp38-linux_x86_64.whl
6146
pip install omero-server[default]
6247
- name: Run flake8
6348
run: flake8 .

0 commit comments

Comments
 (0)