From d10e933588f2285a1c1df592afa5f19fe6dd61a6 Mon Sep 17 00:00:00 2001 From: dofusdude Date: Tue, 7 May 2024 14:09:59 +0000 Subject: [PATCH] Update from https://github.com/dofusdude/api-docs/commit/dfb2060ea369d536104c9a7001224c5a4712aa56 --- .github/workflows/publish.yml | 8 ++++---- Dofusdude.Api.sln | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0ed03bb..48610f2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Build +name: Publish on: release: types: [ created ] @@ -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 diff --git a/Dofusdude.Api.sln b/Dofusdude.Api.sln index ddad7f3..40a4976 100644 --- a/Dofusdude.Api.sln +++ b/Dofusdude.Api.sln @@ -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 @@ -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