Skip to content

Commit 30e330b

Browse files
committed
fix(linux-musl-x86_64/workflow): move dependency installation step before the git checkout
1 parent 4b345bf commit 30e330b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ jobs:
111111

112112
steps:
113113

114+
- name: linux-musl x86_64 install dependencies
115+
if: contains(matrix.name, 'linux-musl') && matrix.arch == 'x86_64'
116+
run: apk update && apk add --no-cache git gcc make sqlite musl-dev linux-headers rust cargo bash curl pkgconf openssl-dev nodejs npm
117+
114118
- uses: actions/[email protected]
115119
with:
116120
submodules: recursive
@@ -122,10 +126,6 @@ jobs:
122126
distribution: 'temurin'
123127
java-version: '17'
124128

125-
- name: linux-musl x86_64 install dependencies
126-
if: matrix.name == 'linux-musl' && matrix.arch == 'x86_64'
127-
run: apk update && apk add --no-cache git gcc make sqlite musl-dev linux-headers rust cargo bash curl pkgconf openssl-dev nodejs npm
128-
129129
- name: linux-musl arm64 setup container
130130
if: matrix.name == 'linux-musl' && matrix.arch == 'arm64'
131131
run: |

0 commit comments

Comments
 (0)