fix(release): remove duplicate GitHub Release creation step
The 'Create GitHub Release' step was conflicting with dotslash-publish-release. Both were trying to upload assets to the same release, causing the 'asset under the same name already exists' error. Removed the softprops/action-gh-release step since facebook/dotslash-publish-release handles creating the release and uploading all assets including the dotslash manifest.
This commit is contained in:
11
.github/workflows/rust-release.yml
vendored
11
.github/workflows/rust-release.yml
vendored
@@ -447,23 +447,12 @@ jobs:
|
||||
--release-version "${{ steps.release_name.outputs.name }}" \
|
||||
--package llmx
|
||||
|
||||
- name: Create GitHub Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: ${{ steps.release_name.outputs.name }}
|
||||
tag_name: ${{ github.ref_name }}
|
||||
files: dist/**
|
||||
# Mark as prerelease only when the version has a suffix after x.y.z
|
||||
# (e.g. -alpha, -beta). Otherwise publish a normal release.
|
||||
prerelease: ${{ contains(steps.release_name.outputs.name, '-') }}
|
||||
|
||||
- uses: facebook/dotslash-publish-release@v2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag: ${{ github.ref_name }}
|
||||
config: .github/dotslash-config.json
|
||||
clobber: true
|
||||
|
||||
# Publish to npm using authentication token
|
||||
publish-npm:
|
||||
|
||||
Reference in New Issue
Block a user