Skip to content

Commit 6022449

Browse files
committed
Fix pack
1 parent ae50f1f commit 6022449

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build-natives.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,18 @@ jobs:
217217
- name: Setup dev environment
218218
run: 'true'
219219

220+
- name: Restore
221+
run: >
222+
dotnet restore Natives/NetCord.Natives/NetCord.Natives.slnx
223+
-v ${{ env.DotnetVerbose }}
224+
${{ env.GenerateBinLog == 'true' && '-bl:restore.binlog' || '' }}
225+
220226
- name: Pack Natives NuGet Package
221227
id: pack_step
222228
run: >
223-
dotnet pack Natives/NetCord.Natives/NetCord.Natives.csproj --no-restore --no-build -v ${{ env.DotnetVerbose }}
229+
dotnet pack Natives/NetCord.Natives/NetCord.Natives.csproj
230+
--no-restore
231+
-v ${{ env.DotnetVerbose }}
224232
${{ env.GenerateBinLog == 'true' && '-bl:pack.binlog' || '' }}
225233
-p:VcpkgArtifactsRoot=${{ github.workspace }}/artifacts/natives-build/
226234
-o ${{ github.workspace }}/

0 commit comments

Comments
 (0)