Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
19 changes: 17 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI

# Build + test on every push/PR.
# On a v* tag: publish NuGet to GitHub Packages AND publish npm package.
# On a v* tag: publish NuGet to nuget.org (trusted publishing) and GitHub Packages, AND publish npm package.
# On a js-v* tag: publish npm package only (JS-only patch releases).
on:
push:
Expand Down Expand Up @@ -72,10 +72,14 @@ jobs:
TESTCONTAINERS_RYUK_DISABLED: "false"

publish-nuget:
name: Pack & publish NuGet to GitHub Packages
name: Pack & publish NuGet (nuget.org + GitHub Packages)
needs: dotnet-check
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write # nuget.org trusted publishing (OIDC): no stored API key
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
Expand All @@ -98,6 +102,17 @@ jobs:
--source github \
--api-key "${{ secrets.GITHUB_TOKEN }}" \
--skip-duplicate
- name: Log in to nuget.org (trusted publishing)
id: nuget-login
uses: NuGet/login@v1
with:
user: rvegajr
- name: Push to nuget.org
run: |
dotnet nuget push "artifacts/nuget/*.nupkg" \
--source https://api.nuget.org/v3/index.json \
--api-key "${{ steps.nuget-login.outputs.NUGET_API_KEY }}" \
--skip-duplicate
- uses: actions/upload-artifact@v4
with:
name: nuget-packages
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<EzEngineTfm>netstandard2.0</EzEngineTfm>
<EzPlatformTfm>net10.0</EzPlatformTfm>
<!-- NuGet metadata for the embeddable packages (spec 15 §2) -->
<Version>1.0.4</Version>
<Version>1.0.5</Version>
<Authors>Noctusoft, Inc.</Authors>
<Company>Noctusoft, Inc.</Company>
<Copyright>Copyright © 2026 Noctusoft, Inc.</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@noctusoft/ezodata-express",
"version": "1.0.4",
"version": "1.0.5",
"description": "Bolt a governed OData v4 + REST + MCP API onto any Express app. Pure TypeScript, full parity with the ez-odata .NET engine.",
"license": "Apache-2.0",
"author": "Noctusoft, Inc.",
Expand Down
Loading