Skip to content

Commit 1233f3d

Browse files
authored
Merge pull request #14 from astar-development/features/this-is-a-little-silly-now
Enough attempts and one will work...
2 parents ede2f18 + e749092 commit 1233f3d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12+
env:
13+
ProjectName: 'AStar.Dev.Functional.Extensions'
1214

1315
steps:
1416
- name: 🧾 Checkout code
@@ -22,11 +24,11 @@ jobs:
2224
- name: 🔍 Restore dependencies
2325
run: dotnet restore
2426

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

2830
- name: 📦 Pack NuGet package
29-
run: dotnet pack --configuration Release --no-build --output ./nupkg
31+
run: dotnet pack .\src\${{ env.ProjectName }}\${{ env.ProjectName }}.csproj --configuration Release --output ./nupkg
3032

3133
- name: 🚀 Publish to NuGet.org
3234
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 }}

0 commit comments

Comments
 (0)