Skip to content

Commit d46d2c4

Browse files
Cellcoteclaude
andcommitted
Switch NuGet publishing from GitHub Packages to nuget.org
Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 04375fc commit d46d2c4

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ jobs:
1515
build:
1616
runs-on: ubuntu-latest
1717

18-
permissions:
19-
contents: read
20-
packages: write
21-
2218
steps:
2319
- uses: actions/checkout@v4
2420

@@ -55,9 +51,9 @@ jobs:
5551
if: github.event_name == 'push'
5652
run: dotnet pack --no-build ${{ steps.version.outputs.pack_args }} -o ./artifacts
5753

58-
- name: Publish to GitHub Packages
54+
- name: Publish to NuGet
5955
if: github.event_name == 'push'
6056
run: |
6157
dotnet nuget push ./artifacts/*.nupkg \
62-
--source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
63-
--api-key ${{ secrets.GITHUB_TOKEN }}
58+
--source https://api.nuget.org/v3/index.json \
59+
--api-key ${{ secrets.NUGET_API_KEY }}

src/Glyph/Glyph.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
<ToolCommandName>glyph</ToolCommandName>
1111
<PackageId>Glyph</PackageId>
1212
<Version>0.1.0</Version>
13+
<Authors>Rik Schreurs</Authors>
1314
<Description>A Git TUI for trunk-based development</Description>
15+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
16+
<PackageProjectUrl>https://github.com/rikschreurs/Glyph</PackageProjectUrl>
17+
<RepositoryUrl>https://github.com/rikschreurs/Glyph</RepositoryUrl>
1418
</PropertyGroup>
1519

1620
<ItemGroup>

0 commit comments

Comments
 (0)