Skip to content

Commit 01cbfc4

Browse files
committed
move the step to the right place
1 parent 3346285 commit 01cbfc4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build-and-test.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ jobs:
7474
runs-on: ${{matrix.options.os}}
7575

7676
steps:
77+
- name: Install Ubuntu prerequisites
78+
if: ${{ contains(matrix.options.os, 'ubuntu') }}
79+
run: sudo apt-get -y install libssl-dev libgdiplus libgif-dev libglib2.0-dev libcairo2-dev libtiff-dev libexif-dev
80+
7781
- name: Git Config
7882
shell: bash
7983
run: |
@@ -165,9 +169,6 @@ jobs:
165169
if: (github.event_name == 'push')
166170

167171
steps:
168-
- name: Install ubuntu prerequisites
169-
if: ${{ contains(matrix.options.os, 'ubuntu') }}
170-
run: sudo apt-get -y install libssl-dev libgdiplus libgif-dev libglib2.0-dev libcairo2-dev libtiff-dev libexif-dev
171172
- name: Git Config
172173
shell: bash
173174
run: |

0 commit comments

Comments
 (0)