diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f7048c646..a26dd61ee 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -464,6 +464,7 @@ jobs: dist_clarity_repl: name: Build Clarity REPL Distribution + if: startsWith(github.ref, 'refs/heads/main') && needs.get_release_info.outputs.tag != '' runs-on: ubuntu-latest needs: pre_run defaults: @@ -495,9 +496,6 @@ jobs: - name: Build - Cargo run: cargo build --release --locked --target x86_64-unknown-linux-gnu - - name: Unit Tests - Cargo - run: cargo test --workspace --release --locked --exclude clarinet-sdk-wasm --exclude clarity-jupyter-kernel --target x86_64-unknown-linux-gnu - - name: Compress cargo artifact working-directory: "." run: tar -C target/x86_64-unknown-linux-gnu/release -zcvf clarity-repl-${{ env.SHORT_TARGET_NAME }}.tar.gz clarity-repl @@ -509,7 +507,6 @@ jobs: path: clarity-repl-${{ env.SHORT_TARGET_NAME }}.tar.gz - name: Publish clarity-repl to crates.io - if: startsWith(github.ref, 'refs/heads/main') && needs.get_release_info.outputs.tag != '' run: | cargo login ${{ secrets.CARGO_CRATES_IO_API_KEY }} cargo publish