Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
830e6e3
Merge test/github-actions-verification: Fix use-after-free and Java J…
shuanat Nov 15, 2025
d7ece53
chore: Update CHANGELOG for 1.0.1 and add branching strategy document…
shuanat Nov 15, 2025
d10dc62
ci: Add performance benchmarks workflow
shuanat Nov 15, 2025
2b78e23
fix(benchmarks): Use correct library name libfastembed_native
shuanat Nov 15, 2025
062d50b
refactor(benchmarks): Remove macOS x64, keep only ARM64
shuanat Nov 15, 2025
d6aebcb
feat(benchmarks): Generate Markdown tables from benchmark results
shuanat Nov 15, 2025
d839645
feat(ci): Add benchmarks to CI workflow
shuanat Nov 15, 2025
d905873
fix(ci): Add C benchmark to build-shared-linux job
shuanat Nov 15, 2025
a6363e2
chore: Remove separate benchmarks workflow
shuanat Nov 15, 2025
f141c98
fix(ci): Correct benchmark-aggregate dependencies
shuanat Nov 15, 2025
a9d7a9a
fix(ci): Add build-shared-linux dependency to test-windows and test-m…
shuanat Nov 15, 2025
f875918
fix(ci): Add build-shared-linux dependency to test-windows
shuanat Nov 15, 2025
997f736
feat(ci): Add test-linux job for core C tests
shuanat Nov 15, 2025
f117618
perf(ci): Optimize workflow to eliminate duplication
shuanat Nov 15, 2025
61a6fe1
feat(ci): Implement Variant 4 (Parallel Architecture)
shuanat Nov 15, 2025
291cd44
refactor(ci): unify test structure across all platforms
shuanat Nov 15, 2025
396d510
fix(ci): resolve C# test failures, Python build on Windows, Java test…
shuanat Nov 16, 2025
c1096b5
fix(ci): Include .o files in Linux build artifact for Java JNI compil…
shuanat Nov 16, 2025
5fcc6c2
docs: Finalize release 1.0.1 documentation
shuanat Nov 16, 2025
0a17ed0
fix(ci): Fix artifact paths and release notes extraction in build-art…
shuanat Nov 16, 2025
4f59cc9
fix(ci): Add contents:write permission and improve release notes extr…
shuanat Nov 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 38 additions & 4 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ on:
- "v*.*.*" # Triggers on version tags (e.g., v1.0.1)
workflow_dispatch: # Allows manual trigger

permissions:
contents: write # Required for creating GitHub releases

env:
ONNX_VERSION: "1.23.2"

Expand Down Expand Up @@ -753,19 +756,50 @@ jobs:
# Extract v1.0.1 section from CHANGELOG.md
VERSION="${GITHUB_REF#refs/tags/v}"
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "Extracted version: $VERSION"

# Extract release notes from CHANGELOG
awk '/^## \['$VERSION'\]/,/^## \[/' CHANGELOG.md | sed '1d;$d' > release-notes.md
# Use awk to extract section between version header and next version header or end of file
awk -v version="$VERSION" '
BEGIN { found=0; in_section=0 }
/^## \[' version '\]/ { found=1; in_section=1; next }
/^## \[/ && in_section { exit }
in_section { print }
' CHANGELOG.md > release-notes.md || {
echo "::warning::Failed to extract release notes, using fallback"
echo "## FastEmbed $VERSION" > release-notes.md
echo "" >> release-notes.md
echo "See CHANGELOG.md for full details." >> release-notes.md
}

# Verify release notes file exists and has content
if [ ! -s release-notes.md ]; then
echo "::warning::Release notes file is empty, using fallback"
echo "## FastEmbed $VERSION" > release-notes.md
echo "" >> release-notes.md
echo "See CHANGELOG.md for full details." >> release-notes.md
fi

echo "::notice::Release notes extracted:"
cat release-notes.md

- name: List downloaded artifacts
run: |
echo "::notice::Listing downloaded artifacts structure:"
find artifacts -type f -name "*.tar.gz" -o -name "*.zip" | head -20
echo ""
echo "::notice::Artifact directories:"
ls -la artifacts/ || echo "No artifacts directory found"

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
name: FastEmbed ${{ steps.changelog.outputs.version }}
body_path: release-notes.md
files: |
artifacts/fastembed-linux-x64/*.tar.gz
artifacts/fastembed-windows-x64/*.zip
artifacts/fastembed-macos-*/*.tar.gz
artifacts/fastembed-linux-x64/**/*.tar.gz
artifacts/fastembed-windows-x64/**/*.zip
artifacts/fastembed-macos-*/**/*.tar.gz
draft: false
prerelease: false
env:
Expand Down
Loading
Loading