diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b0c8d5..48acacf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: target: - - mips-unknown-linux-musl --features=default-openssl --no-default-features + - mips-unknown-linux-musl # - mipsel-unknown-linux-musl - x86_64-unknown-linux-musl # - i686-unknown-linux-musl @@ -38,11 +38,19 @@ jobs: cargo install cross - name: build + if: ${{ matrix.target != 'mips-unknown-linux-musl' }} run: | export CFG_COMMIT_HASH=`git log --pretty=format:'%h' -n 1` export CFG_COMMIT_DATE=`git log --format="%ci" -n 1` cross build --release --target ${{ matrix.target }} + - name: build + if: ${{ matrix.target == 'mips-unknown-linux-musl' }} + run: | + export CFG_COMMIT_HASH=`git log --pretty=format:'%h' -n 1` + export CFG_COMMIT_DATE=`git log --format="%ci" -n 1` + cross build --release --target ${{ matrix.target }} --features default-openssl --no-default-features + - name: rename and compress artifacts if: ${{ matrix.target == 'x86_64-pc-windows-gnu' }} run: |