Skip to content

Commit c75506b

Browse files
committed
Merge branch 'main' into features/target-package-to-correct-project
# Conflicts: # .github/workflows/publish.yml
2 parents 8108578 + 52722d4 commit c75506b

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Publish NuGet Package
22

33
on:
4+
workflow_dispatch:
45
push:
5-
tags:
6-
- 'v*' # Triggers on version tags like v1.0.0
6+
branches:
7+
- main
78

89
jobs:
910
build:
@@ -22,12 +23,11 @@ jobs:
2223
- name: 🔍 Restore dependencies
2324
run: dotnet restore
2425

25-
- name: 🧪 Run tests
26-
run: dotnet test --configuration Release --no-build
26+
# - name: 🧪 Run tests
27+
# run: dotnet test --configuration Release --no-build
2728

2829
- name: 📦 Pack NuGet package
29-
run: dotnet pack ./src/AStar.Dev.Functional.Extensions/AStar.Dev.Functional.Extensions.csproj --configuration Release --no-build --output ./nupkg
30+
run: dotnet pack --configuration Release --no-build --output ./nupkg
3031

3132
- name: 🚀 Publish to NuGet.org
32-
run: dotnet nuget push ./**/*.nupkg --skip-duplicate --source https://int.nugettest.org/v3.index.json # https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
33-
33+
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 }}

src/AStar.Dev.Functional.Extensions/AStar.Dev.Functional.Extensions.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<IncludeSymbols>true</IncludeSymbols>
1010
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1111
<PackageId>AStar.Dev.Functional.Extensions</PackageId>
12-
<Version>0.1.0-alpha</Version>
12+
<Version>0.1.3-alpha</Version>
1313
<Authors>Jason</Authors>
1414
<Company>AStar Development</Company>
1515
<Description>F#-inspired Result type with functional combinators, async support, and LINQ integration.</Description>
@@ -21,6 +21,7 @@
2121
<RootNamespace>AStar.Dev.Functional.Extensions</RootNamespace>
2222
<LangVersion>latest</LangVersion>
2323
<Nullable>enable</Nullable>
24+
<IsPackable>true</IsPackable>
2425
</PropertyGroup>
2526

2627
<ItemGroup>

0 commit comments

Comments
 (0)