Skip to content

Commit 228d265

Browse files
committed
I still don't know when --runtime is required by "dotnet restore --locked-mode" and when it is prohibited.
1 parent 490c1eb commit 228d265

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@v6
2424

2525
- name: Restore
26-
run: dotnet restore --runtime ${{ matrix.targetPlatform }} --locked-mode
26+
run: dotnet restore --locked-mode
2727

2828
- name: Build
2929
run: dotnet build ${{ env.ProjectName }} --no-restore --runtime ${{ matrix.targetPlatform }} --configuration Release --no-self-contained

0 commit comments

Comments
 (0)