Skip to content

Commit 57d529d

Browse files
Merge pull request #257 from Sebastian-Webster/256-alpine-tests-do-not-checkout-correct-commit
Fix Alpine tests checking out wrong code
2 parents 6e899c8 + f15303f commit 57d529d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/os-compatibility.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,12 @@ jobs:
113113
- name: Install required libraries for MySQL on alpine
114114
run: apk add libaio libstdc++
115115

116-
- name: Checkout
117-
run: git clone https://github.com/${{ github.repository }} --branch ${{ github.head_ref || github.ref_name }} --single-branch --depth 1 mysqlmsn
116+
- name: Clone Repository
117+
run: git clone https://github.com/${{ github.repository }} --branch ${{ github.head_ref || github.ref_name }} --single-branch mysqlmsn
118+
119+
- name: Checkout code
120+
working-directory: mysqlmsn
121+
run: git reset --hard ${{ github.event.after }}
118122

119123
- name: Install packages
120124
working-directory: mysqlmsn

0 commit comments

Comments
 (0)