Skip to content

Commit 1499c6b

Browse files
committed
OK, really the last attempt...
1 parent 7001918 commit 1499c6b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/publish.yml

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

@@ -13,26 +15,20 @@ jobs:
1315
steps:
1416
- name: 🧾 Checkout code
1517
uses: actions/checkout@v4
16-
if: github.ref == 'refs/heads/main'
1718

1819
- name: 🛠 Setup .NET
1920
uses: actions/setup-dotnet@v4
20-
if: github.ref == 'refs/heads/main'
2121
with:
2222
dotnet-version: '9.x'
2323

2424
- name: 🔍 Restore dependencies
2525
run: dotnet restore
26-
if: github.ref == 'refs/heads/main'
2726

2827
# - name: 🧪 Run tests
2928
# run: dotnet test --configuration Release --no-build
30-
# if: github.ref == 'refs/heads/main'
3129

3230
- name: 📦 Pack NuGet package
3331
run: dotnet pack --configuration Release --no-build --output ./nupkg
34-
if: github.ref == 'refs/heads/main'
3532

3633
- name: 🚀 Publish to NuGet.org
3734
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 }}
38-
if: github.ref == 'refs/heads/main'

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

Lines changed: 1 addition & 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.2-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>

0 commit comments

Comments
 (0)