Skip to content

Commit 3bebfb2

Browse files
ci: use intility nuget feed
1 parent 104ab11 commit 3bebfb2

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: CI/CD Pipeline
22

33
on:
44
pull_request:
5-
branches: [main]
5+
branches: [ main ]
66
paths-ignore:
77
- "docs/**"
88
- "**.md"
99
- ".github/ISSUE_TEMPLATE/**"
1010
- ".claude/**"
1111
release:
12-
types: [published]
12+
types: [ published ]
1313

1414
concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
@@ -29,6 +29,9 @@ jobs:
2929
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5
3030
with:
3131
dotnet-version: 10.0.x
32+
source-url: https://nuget.pkg.github.com/Intility/index.json
33+
env:
34+
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_AUTH_TOKEN }}
3235

3336
- name: Restore
3437
run: dotnet restore --locked-mode
@@ -66,4 +69,5 @@ jobs:
6669
run: dotnet pack JsonApiToolkit/JsonApiToolkit.csproj -c Release --no-restore
6770

6871
- name: Publish to GitHub Packages
69-
run: dotnet nuget push "JsonApiToolkit/bin/Release/*.nupkg" --api-key ${{ secrets.NUGET_AUTH_TOKEN }}
72+
run: dotnet nuget push "JsonApiToolkit/bin/Release/*.nupkg" --api-key ${{
73+
secrets.NUGET_AUTH_TOKEN }}

0 commit comments

Comments
 (0)