Skip to content

Commit

Permalink
ci(release): fix path & remove artifact upload (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham authored Jun 10, 2024
1 parent 6b534a0 commit ecde21d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand All @@ -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}}

0 comments on commit ecde21d

Please sign in to comment.