Skip to content

Commit 52722d4

Browse files
authored
Merge pull request #10 from astar-development/features/change-workflow-to-inculde-workflow_dispatch
Whoops, tag with wrong case
2 parents 2d8de88 + fe77209 commit 52722d4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Publish NuGet Package
33
on:
44
workflow_dispatch:
55
push:
6-
tags:
7-
- 'v*' # Triggers on version tags like v1.0.0
6+
branches:
7+
- main
88

99
jobs:
1010
build:
@@ -22,12 +22,11 @@ jobs:
2222
- name: 🔍 Restore dependencies
2323
run: dotnet restore
2424

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

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

3131
- name: 🚀 Publish to NuGet.org
3232
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 }}
33-

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)