Skip to content

Commit 1d765a6

Browse files
committed
fix: Builds
1 parent a95e45b commit 1d765a6

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
sudo update-locale LANG=en_US.UTF-8
4444
xvfb-run /usr/lib/notification-daemon/notification-daemon --display=:99.0 -r &
4545
- name: "Restore"
46-
run: dotnet restore
46+
run: dotnet restore ${{ env.TEST_PROJECT_NAME }}
4747
- name: "Build"
48-
run: dotnet build -c Release --no-restore
48+
run: dotnet build ${{ env.TEST_PROJECT_NAME }} -c Release --no-restore
4949
- name: "Test"
50-
run: dotnet test -c Release ${{ env.TEST_PROJECT_NAME }} --no-build
50+
run: dotnet test ${{ env.TEST_PROJECT_NAME }} -c Release --no-build
5151

.github/workflows/macos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
security unlock-keychain -p ${{ env.KEYRING_PASSWORD }} build.keychain
4141
security set-keychain-settings -t 3600 -l build.keychain
4242
- name: "Restore"
43-
run: dotnet restore
43+
run: dotnet restore ${{ env.TEST_PROJECT_NAME }}
4444
- name: "Build"
45-
run: dotnet build -c Release --no-restore
45+
run: dotnet build ${{ env.TEST_PROJECT_NAME }} -c Release --no-restore
4646
- name: "Test"
47-
run: dotnet test -c Release ${{ env.TEST_PROJECT_NAME }} --no-build
47+
run: dotnet test ${{ env.TEST_PROJECT_NAME }} -c Release --no-build
4848
- name: Cleanup Keychain
4949
if: always()
5050
run: security delete-keychain build.keychain

.github/workflows/windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
with:
3434
dotnet-version: '9.0.x'
3535
- name: "Restore"
36-
run: dotnet restore
36+
run: dotnet restore ${{ env.TEST_PROJECT_NAME }}
3737
- name: "Build"
38-
run: dotnet build -c Release --no-restore
38+
run: dotnet build ${{ env.TEST_PROJECT_NAME }} -c Release --no-restore
3939
- name: "Test"
40-
run: dotnet test -c Release ${{ env.TEST_PROJECT_NAME }} --no-build
40+
run: dotnet test ${{ env.TEST_PROJECT_NAME }} -c Release --no-build

Nickvision.Desktop/Nickvision.Desktop.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<ImplicitUsings>disable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9+
<EnableWindowsTargeting>true</EnableWindowsTargeting>
910
<PackageId>Nickvision.Desktop</PackageId>
1011
<Version>2025.11.2</Version>
1112
<Company>Nickvision</Company>

0 commit comments

Comments
 (0)