We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf4e3a0 commit 5306753Copy full SHA for 5306753
.github/workflows/publish.yml
@@ -7,6 +7,7 @@ on:
7
8
env:
9
PROJECT_PATH: ./source/${{ github.event.repository.name }}/${{ github.event.repository.name }}.csproj
10
+ CONFIGURATION: Release
11
12
jobs:
13
build-and-publish:
@@ -20,10 +21,15 @@ jobs:
20
21
- run: >
22
dotnet restore
23
${{ env.PROJECT_PATH }}
24
+ - run: >
25
+ dotnet build
26
+ ${{ env.PROJECT_PATH }}
27
+ --configuration ${{ env.CONFIGURATION }}
28
+ --no-restore
29
30
dotnet pack
31
- --configuration Release
32
+ --no-build
33
--output ./publish
34
35
dotnet nuget push
0 commit comments