diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 2b3d4967..dd768bdf 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -87,13 +87,6 @@ jobs: with: tool: cross - - name: Replace build target - uses: MathieuSoysal/replace-string-in-file@v1.0.0 - with: - old-string: "[\"staticlib\"]" - new-string: "[\"staticlib\", \"cdylib\"]" - file: yffi/Cargo.toml - - name: Install musl tools run: sudo apt install -y musl musl-dev musl-tools if: endsWith(matrix.build, '-musl') @@ -116,6 +109,13 @@ jobs: git clone ${YRS_REPO} --branch ${YRS_BRANCH} --single-branch yrs shell: bash + - name: Replace build target + uses: MathieuSoysal/replace-string-in-file@v1.0.0 + with: + old-string: "[\"staticlib\"]" + new-string: "[\"staticlib\", \"cdylib\"]" + file: yrs/yffi/Cargo.toml + - name: Build (Cargo) if: "!matrix.cross" run: |