Skip to content

Commit cf05c51

Browse files
committed
fix(workflow): fix linux-musl arm64 builds
1 parent 4312bc4 commit cf05c51

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ jobs:
9292

9393
- name: linux-musl arm64 setup container
9494
if: matrix.name == 'linux-musl' && matrix.arch == 'arm64'
95-
id: musl-arm64
9695
run: |
9796
docker run -d --name alpine \
9897
--platform linux/arm64 \
@@ -115,7 +114,7 @@ jobs:
115114
run: sudo apt install wabt
116115

117116
- name: build sqlite-sync
118-
run: ${{ steps.musl-arm64 && 'docker exec alpine' || '' }} make extension ${{ matrix.make && matrix.make || ''}}
117+
run: ${{ matrix.name == 'linux-musl' && matrix.arch == 'arm64' && 'docker exec alpine' || '' }} make extension ${{ matrix.make && matrix.make || ''}}
119118

120119
- name: android setup test environment
121120
if: matrix.name == 'android' && matrix.arch != 'arm64-v8a'
@@ -162,7 +161,7 @@ jobs:
162161
163162
- name: test sqlite-sync
164163
if: contains(matrix.name, 'linux') || matrix.name == 'windows' || matrix.name == 'macos'
165-
run: ${{ steps.musl-arm64 && 'docker exec alpine' || '' }} make test ${{ matrix.make && matrix.make || ''}}
164+
run: ${{ matrix.name == 'linux-musl' && matrix.arch == 'arm64' && 'docker exec alpine' || '' }} make test ${{ matrix.make && matrix.make || ''}}
166165

167166
- uses: actions/[email protected]
168167
if: matrix.name == 'macos'

0 commit comments

Comments
 (0)