Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed May 7, 2024
1 parent b1bc93d commit d10e933
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Publish
on:
release:
types: [ created ]
Expand All @@ -11,11 +11,11 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: "8.x"
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}}
- name: Build
run: dotnet build --configuration Release
- name: Package
run: dotnet pack --configuration Release
- name: Publish
run: dotnet nuget push -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json src/Dofusdude.Api/bin/Release/Dofusdude.Api.0.9.0.nupkg
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}}
run: dotnet nuget push --api-key "$NUGET_AUTH_TOKEN" --source https://api.nuget.org/v3/index.json src/Dofusdude.Api/bin/Release/Dofusdude.Api.0.9.0.nupkg
10 changes: 5 additions & 5 deletions Dofusdude.Api.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dofusdude.Api", "src\Dofusdude.Api\Dofusdude.Api.csproj", "{6E2DFC82-5035-4A09-B57E-C77B2080AE61}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dofusdude.Api", "src\Dofusdude.Api\Dofusdude.Api.csproj", "{5FD7B6E2-22CF-4EBB-AD22-0C4400E41C3F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dofusdude.Api.Test", "src\Dofusdude.Api.Test\Dofusdude.Api.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6E2DFC82-5035-4A09-B57E-C77B2080AE61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6E2DFC82-5035-4A09-B57E-C77B2080AE61}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6E2DFC82-5035-4A09-B57E-C77B2080AE61}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6E2DFC82-5035-4A09-B57E-C77B2080AE61}.Release|Any CPU.Build.0 = Release|Any CPU
{5FD7B6E2-22CF-4EBB-AD22-0C4400E41C3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5FD7B6E2-22CF-4EBB-AD22-0C4400E41C3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5FD7B6E2-22CF-4EBB-AD22-0C4400E41C3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5FD7B6E2-22CF-4EBB-AD22-0C4400E41C3F}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down

0 comments on commit d10e933

Please sign in to comment.