We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent decd4af commit f1e3aa8Copy full SHA for f1e3aa8
1 file changed
.github/workflows/publish.yml
@@ -19,10 +19,15 @@ jobs:
19
with:
20
dotnet-version: 10.0.x
21
22
+ - name: Restore dependencies
23
+ # need to set /p:PublishTrimmed here as well because --no-restore on the publish step causes trimming to silently fail
24
+ # https://github.com/dotnet/sdk/issues/37049
25
+ run: dotnet restore --locked-mode /p:PublishTrimmed=true
26
+
27
- name: Publish
28
env:
29
TMDB_API_KEY: ${{ secrets.TMDB_API_KEY }}
- run: dotnet publish AutoTag.CLI -r ${{ matrix.dotnet-runtime }} -c Release --locked-mode
30
+ run: dotnet publish AutoTag.CLI -r ${{ matrix.dotnet-runtime }} -c Release --no-restore
31
32
- name: Upload
33
0 commit comments