Skip to content

Commit 25b9d6d

Browse files
committed
checkout order
1 parent fe619b7 commit 25b9d6d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/database.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ jobs:
168168
if: steps.check.outputs.has_changes == 'true'
169169
run: bin/console doctrine:fixtures:load -vvv --ansi --no-interaction
170170

171+
- name: Checkout current branch
172+
if: steps.check.outputs.has_changes == 'true'
173+
run: git checkout ${{ github.sha }}
174+
171175
- name: Snapshot baseline schema and data
172176
if: steps.check.outputs.has_changes == 'true'
173177
env:
@@ -183,10 +187,6 @@ jobs:
183187
| grep -vE '^(SET |SELECT |$)' \
184188
> /tmp/data_baseline.sql
185189
186-
- name: Checkout current branch
187-
if: steps.check.outputs.has_changes == 'true'
188-
run: git checkout ${{ github.sha }}
189-
190190
- name: Install Composer dependencies for current branch
191191
if: steps.check.outputs.has_changes == 'true'
192192
run: composer install --ansi --no-interaction --no-progress

0 commit comments

Comments
 (0)