Skip to content

Commit 77024d3

Browse files
Add explicit build step before pack
1 parent ae99274 commit 77024d3

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,18 @@ jobs:
6666
run: >-
6767
dotnet restore "${{ github.workspace }}/${{ inputs.solution }}"
6868
69+
- name: '.NET Build'
70+
run: >-
71+
dotnet build
72+
"${{ github.workspace }}/${{ inputs.solution }}"
73+
--no-restore
74+
--configuration "${{ env.BUILD_CONFIG }}"
75+
6976
- name: '.NET Pack'
7077
run: >-
7178
dotnet pack
7279
"${{ github.workspace }}/${{ inputs.solution }}"
73-
--no-restore
80+
--no-build
7481
--configuration "${{ env.BUILD_CONFIG }}"
7582
-p:ContinuousIntegrationBuild=true
7683
-o "${{ github.workspace }}/${{ env.PACKAGE_PATH }}"

0 commit comments

Comments
 (0)