From ecde21df089079d6e3f475f5eb35e126026195d9 Mon Sep 17 00:00:00 2001 From: Hammy <58985301+sgoudham@users.noreply.github.com> Date: Mon, 10 Jun 2024 13:09:29 +0100 Subject: [PATCH] ci(release): fix path & remove artifact upload (#16) --- .github/workflows/release.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d993b01..6227ebd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,8 +56,8 @@ jobs: cargo test --release --locked export BINARY_NAME="${EXECUTABLE}-$(rustc --version --verbose | grep host | cut -d ' ' -f 2)${EXE_SUFFIX}" - mv "target/release/${EXECUTABLE}${EXE_SUFFIX}" "./${BINARY_NAME}" - echo "binary=${BINARY_NAME}" >> $GITHUB_OUTPUT + mv "target/release/${EXECUTABLE}${EXE_SUFFIX}" "./target/${BINARY_NAME}" + echo "binary=target/${BINARY_NAME}" >> $GITHUB_OUTPUT - name: Publish to crates.io if: ${{ matrix.os == 'ubuntu-latest' }} @@ -69,9 +69,3 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release upload "${{ needs.release-please.outputs.tag_name }}" ${{ steps.build.outputs.binary }} - - - name: Upload to artifact - uses: actions/upload-artifact@v4 - with: - name: ${{steps.build.outputs.binary}} - path: ${{steps.build.outputs.binary}}