diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 09752b817f0b..75483b47702c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -82,7 +82,7 @@ jobs: - name: Nightly analysis-stats check if: github.ref != 'refs/heads/release' - run: ./dist/rust-analyzer-x86_64-unknown-linux-gnu analysis-stats . + run: target/x86_64-unknown-linux-gnu/release/rust-analyzer analysis-stats . - name: Upload artifacts uses: actions/upload-artifact@v1 diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index d07ad94204cf..d59b88131a23 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs @@ -70,7 +70,6 @@ fn dist_server() -> Result<()> { let src = Path::new("target").join(&target).join("release").join(format!("rust-analyzer{}", suffix)); let dst = Path::new("dist").join(format!("rust-analyzer-{}{}", target, suffix)); - cp(&src, &dst)?; gzip(&src, &dst.with_extension("gz"))?; // FIXME: the old names are temporarily kept for client compatibility, but they should be removed