diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f8a46c9..7a0d6119 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,8 +18,8 @@ env: preview: ${{ !startsWith(github.ref, 'refs/tags/') }} jobs: - dist: - name: Dist + build: + name: Build env: # For some builds, we use cross to test on 32-bit and big-endian # systems. @@ -95,8 +95,7 @@ jobs: - name: Show command used for Cargo run: | - echo "cargo command is: ${{ env.CARGO }}" - echo "target flag is: ${{ env.TARGET_FLAGS }}" + echo "build command: ${{ env.CARGO }} build --release --locked --target ${{ matrix.target }}" - name: Run cargo test if: "!matrix.skip_tests" @@ -105,6 +104,7 @@ jobs: - name: Set profile.release.strip = true shell: bash run: | + mkdir -p .cargo cat >> .cargo/config.toml <