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
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Publish NuGet Package
on:
workflow_dispatch:
push:
tags:
- 'v*' # Triggers on version tags like v1.0.0
branches:
- main

jobs:
build:
Expand All @@ -22,12 +22,11 @@ jobs:
- name: 🔍 Restore dependencies
run: dotnet restore

- name: 🧪 Run tests
run: dotnet test --configuration Release --no-build
# - name: 🧪 Run tests
# run: dotnet test --configuration Release --no-build

- name: 📦 Pack NuGet package
run: dotnet pack --configuration Release --no-build --output ./nupkg

- name: 🚀 Publish to NuGet.org
run: dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --source https://int.nugettest.org/v3.index.json # https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageId>AStar.Dev.Functional.Extensions</PackageId>
<Version>0.1.0-alpha</Version>
<Version>0.1.3-alpha</Version>
<Authors>Jason</Authors>
<Company>AStar Development</Company>
<Description>F#-inspired Result type with functional combinators, async support, and LINQ integration.</Description>
Expand All @@ -21,6 +21,7 @@
<RootNamespace>AStar.Dev.Functional.Extensions</RootNamespace>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down