Skip to content

Commit db95468

Browse files
committed
fix cd-production
1 parent a242303 commit db95468

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/cd-production.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ jobs:
2525
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY_NEOLUTION }}
2626

2727
- name: Determine version for NuGet package
28-
run: echo NUGET_VERSION=${GITHUB_REF#refs/tags/v} >> $GITHUB_ENV
28+
run: echo NUGET_VERSION=${GITHUB_REF#refs/tags/} >> $GITHUB_ENV
2929

3030
- name: Build and pack
3131
run: |
3232
dotnet restore
33-
dotnet build --configuration ${{ env.BUILD_CONFIGURATION }} -p:Version=$NUGET_VERSION
34-
dotnet pack --configuration ${{ env.BUILD_CONFIGURATION }} --no-restore --no-build -p:PackageVersion=$NUGET_VERSION
33+
dotnet build --configuration ${{ env.BUILD_CONFIGURATION }} --no-restore -p:Version=$NUGET_VERSION
34+
dotnet pack --configuration ${{ env.BUILD_CONFIGURATION }} --no-build --no-restore -p:PackageVersion=$NUGET_VERSION
3535
3636
- name: Push NuGet package
37-
run: echo "dotnet nuget push -k $NUGET_AUTH_TOKEN **/bin/Release/*.nupkg"
37+
run: dotnet nuget push -k $NUGET_AUTH_TOKEN **/bin/Release/*.nupkg
3838
env:
3939
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY_NEOLUTION }}

Neolution.Extensions.Configuration.GoogleSecrets.AspNetCore/Neolution.Extensions.Configuration.GoogleSecrets.AspNetCore.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
87
<IsPackable>true</IsPackable>
98
</PropertyGroup>
109

Neolution.Extensions.Configuration.GoogleSecrets.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Neolution.Extensions.Config
99
EndProject
1010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1A2F8802-860F-46EC-AE98-50D47A74FA91}"
1111
ProjectSection(SolutionItems) = preProject
12+
.github\workflows\cd-production.yml = .github\workflows\cd-production.yml
1213
CHANGELOG.md = CHANGELOG.md
1314
.github\workflows\ci.yml = .github\workflows\ci.yml
1415
.github\workflows\create-release.yml = .github\workflows\create-release.yml

0 commit comments

Comments
 (0)