From 7d4a62275d969a134a1f9c80d489f45eddd0b2ae Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 11 Jan 2020 21:38:15 +0100 Subject: Don't be overly generic --- .github/workflows/ci.yaml | 3 +-- .github/workflows/release.yaml | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3a2bdb4a6..9c81dd97e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,6 @@ jobs: RUN_SLOW_TESTS: 1 RUSTUP_MAX_RETRIES: 10 CARGO_NET_RETRY: 10 - PROFILE: debug steps: - name: Checkout repository @@ -76,7 +75,7 @@ jobs: - name: Prepare cache 2 if: matrix.os == 'windows-latest' - run: Remove-Item ./target/${{ env.PROFILE }}/xtask.exe + run: Remove-Item ./target/debug/xtask.exe type-script: name: TypeScript diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6cb27482d..b14aa6880 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,7 +18,6 @@ jobs: RUN_SLOW_TESTS: 1 RUSTUP_MAX_RETRIES: 10 CARGO_NET_RETRY: 10 - PROFILE: release steps: - name: Checkout repository @@ -69,18 +68,18 @@ jobs: - name: Prepare cache 2 if: matrix.os == 'windows-latest' - run: Remove-Item ./target/${{ env.PROFILE }}/xtask.exe + run: Remove-Item ./target/release/xtask.exe - name: Creat distribution dir run: mkdir ./dist - name: Copy binaries (non-win) if: matrix.os != 'windows-latest' - run: cp ./target/${{ env.PROFILE }}/ra_lsp_server ./dist + run: cp ./target/release/ra_lsp_server ./dist - name: Copy binaries (win) if: matrix.os == 'windows-latest' - run: copy ./target/${{ env.PROFILE }}/ra_lsp_server.* ./dist + run: copy ./target/release/ra_lsp_server.* ./dist - name: Upload artifacts uses: actions/upload-artifact@v1 -- cgit v1.2.3