Skip to content

Commit 69da9ff

Browse files
authored
Fix: Fix pipeline (#17)
* Add GitHub Actions workflow for NuGet package publishing * fix: dupe pipelines * Fix: Update pipeline * fix: update path to artifact --------- Co-authored-by: Temptica <nic.vanruy@gmail.com>
1 parent 7aa1896 commit 69da9ff

2 files changed

Lines changed: 19 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@ jobs:
3232
uses: actions/upload-artifact@v4
3333
with:
3434
name: twitchersharp-nuget
35-
path: ./artifacts/*.nupkg
35+
path: ./artifact/*.nupkg
3636
if-no-files-found: error
3737

3838
- name: Publish to NuGet.org
3939
if: startsWith(github.ref, 'refs/tags/v')
40-
run: dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
40+
run: >
41+
dotnet nuget push ./artifact/*.nupkg
42+
--api-key ${{ secrets.GITHUB_TOKEN }}
43+
--source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
44+
--skip-duplicate

TwitcherSharp/TwitcherSharp.csproj

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,20 @@
44
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>disable</Nullable>
7+
78
<PackageId>Temptica.TwitcherSharp</PackageId>
8-
<Version>2.4.1-alpha.4</Version>
9+
<Authors>Temptica</Authors>
10+
<Description>A C# wrapper for Twitcher, the twitch integration plugin for the Godot game engine</Description>
11+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
12+
<PackageProjectUrl>https://https://github.com/Temptica</PackageProjectUrl>
13+
<RepositoryUrl>https://https://github.com/Temptica</RepositoryUrl>
14+
<PackageReadmeFile>README.md</PackageReadmeFile>
15+
16+
<!-- Source Link — lets consumers step into your source while debugging -->
17+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
18+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
19+
<IncludeSymbols>true</IncludeSymbols>
20+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
921
</PropertyGroup>
1022

1123
<ItemGroup>

0 commit comments

Comments
 (0)