Skip to content

Commit b9f42db

Browse files
committed
ci: remove explicit restore step to fix trimming
1 parent 9f78c8c commit b9f42db

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@ jobs:
1313
uses: actions/setup-dotnet@v5
1414
with:
1515
dotnet-version: 10.0.x
16-
17-
- name: Restore dependencies
18-
run: dotnet restore --locked-mode
1916

2017
- name: Build
21-
run: dotnet build --no-restore
18+
run: dotnet build --locked-mode
2219

2320
- name: Test
2421
run: dotnet test --no-build --verbosity normal

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,10 @@ jobs:
1919
with:
2020
dotnet-version: 10.0.x
2121

22-
- name: Restore dependencies
23-
run: dotnet restore --locked-mode
24-
2522
- name: Publish
2623
env:
2724
TMDB_API_KEY: ${{ secrets.TMDB_API_KEY }}
28-
run: dotnet publish AutoTag.CLI -r ${{ matrix.dotnet-runtime }} -c Release --no-restore
25+
run: dotnet publish AutoTag.CLI -r ${{ matrix.dotnet-runtime }} -c Release --locked-mode
2926

3027
- name: Upload
3128
env:

0 commit comments

Comments
 (0)