diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml
index 01c5eaaf..d2942ea2 100644
--- a/.github/workflows/dotnet-desktop.yml
+++ b/.github/workflows/dotnet-desktop.yml
@@ -46,7 +46,7 @@ jobs:
- name: Check if exe file is generated
id: check-exe
run: |
- $exePath = "Ink Canvas\bin\Debug\net472\InkCanvasForClass.exe"
+ $exePath = "Ink Canvas\bin\Debug\${{ matrix.architecture }}\net472\InkCanvasForClass.exe"
if (Test-Path $exePath) {
echo "build_success=true" >> $env:GITHUB_OUTPUT
@@ -69,19 +69,12 @@ jobs:
$version = "debug-$shortSha-$env:GITHUB_RUN_NUMBER"
echo "archive_name=$version" >> $env:GITHUB_OUTPUT
- - name: Upload Artifact(AnyCPU) (if build succeeded)
- if: steps.check-exe.outputs.build_success == 'true' && matrix.architecture == 'AnyCPU'
- uses: actions/upload-artifact@v7
- with:
- name: InkCanvasForClass.CE.debug
- path: "Ink Canvas/bin/Debug/net472/*"
-
- - name: Upload Artifact(x86) (if build succeeded)
- if: steps.check-exe.outputs.build_success == 'true' && matrix.architecture == 'x86'
+ - name: Upload Artifact (if build succeeded)
+ if: steps.check-exe.outputs.build_success == 'true'
uses: actions/upload-artifact@v7
with:
- name: InkCanvasForClass.CE.debug.x86
- path: "Ink Canvas/bin/x86 Debug/net472/*"
+ name: InkCanvasForClass.CE.debug.${{ matrix.architecture }}
+ path: "Ink Canvas/bin/Debug/${{ matrix.architecture }}/net472/*"
- name: Create Summary
if: always()
@@ -100,7 +93,7 @@ jobs:
echo "" >> $GITHUB_STEP_SUMMARY
echo "[Download Artifact](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
- echo "[Nightly.link Download](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.zip) \([GhProxy Fastly Mirror](https://cdn.gh-proxy.com/nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.zip) / [GhProxy Mirror](https://gh-proxy.com/nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.zip)\)" >> $GITHUB_STEP_SUMMARY
+ echo "[Nightly.link Download](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.${{ matrix.architecture }}.zip) \([GhProxy Fastly Mirror](https://cdn.gh-proxy.com/nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.${{ matrix.architecture }}.zip) / [GhProxy Mirror](https://gh-proxy.com/nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.${{ matrix.architecture }}.zip)\)" >> $GITHUB_STEP_SUMMARY
else
echo "## ❌ Build Failed" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
diff --git a/.github/workflows/prcheck.yml b/.github/workflows/prcheck.yml
index b97db0d3..ca6031a1 100644
--- a/.github/workflows/prcheck.yml
+++ b/.github/workflows/prcheck.yml
@@ -1,4 +1,4 @@
-name: .NET Build & Package
+name: PR Check
on:
pull_request:
@@ -43,7 +43,7 @@ jobs:
- name: Check if exe file is generated
id: check-exe
run: |
- $exePath = "Ink Canvas\bin\Debug\net472\InkCanvasForClass.exe"
+ $exePath = "Ink Canvas\bin\Debug\${{ matrix.architecture }}\net472\InkCanvasForClass.exe"
if (Test-Path $exePath) {
echo "build_success=true" >> $env:GITHUB_OUTPUT
@@ -66,19 +66,13 @@ jobs:
$version = "debug-$shortSha-$env:GITHUB_RUN_NUMBER"
echo "archive_name=$version" >> $env:GITHUB_OUTPUT
- - name: Upload Artifact(AnyCPU) (if build succeeded)
- if: steps.check-exe.outputs.build_success == 'true' && matrix.architecture == 'AnyCPU'
+ - name: Upload Artifact (if build succeeded)
+ if: steps.check-exe.outputs.build_success == 'true'
uses: actions/upload-artifact@v7
with:
- name: InkCanvasForClass.CE.debug
- path: "Ink Canvas/bin/Debug/net472/*"
+ name: InkCanvasForClass.CE.debug.${{ matrix.architecture }}
+ path: "Ink Canvas/bin/Debug/${{ matrix.architecture }}/net472/*"
- - name: Upload Artifact(x86) (if build succeeded)
- if: steps.check-exe.outputs.build_success == 'true' && matrix.architecture == 'x86'
- uses: actions/upload-artifact@v7
- with:
- name: InkCanvasForClass.CE.debug.x86
- path: "Ink Canvas/bin/x86 Debug/net472/*"
- name: Create Summary
if: always()
@@ -97,7 +91,7 @@ jobs:
echo "" >> $GITHUB_STEP_SUMMARY
echo "[Download Artifact](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
- echo "[Nightly.link Download](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.zip) \([GhProxy Fastly Mirror](https://cdn.gh-proxy.com/nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.zip) / [GhProxy Mirror](https://gh-proxy.com/nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.zip)\)" >> $GITHUB_STEP_SUMMARY
+ echo "[Nightly.link Download](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.${{ matrix.architecture }}.zip) \([GhProxy Fastly Mirror](https://cdn.gh-proxy.com/nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.${{ matrix.architecture }}.zip) / [GhProxy Mirror](https://gh-proxy.com/nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/InkCanvasForClass.CE.debug.${{ matrix.architecture }}.zip)\)" >> $GITHUB_STEP_SUMMARY
else
echo "## ❌ Build Failed" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
diff --git a/Ink Canvas.sln b/Ink Canvas.sln
index a1386662..cb6265f1 100644
--- a/Ink Canvas.sln
+++ b/Ink Canvas.sln
@@ -27,8 +27,8 @@ Global
{8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|ARM64.Build.0 = Debug|Any CPU
{8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x64.ActiveCfg = Debug|Any CPU
{8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x64.Build.0 = Debug|Any CPU
- {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x86.ActiveCfg = x86 Debug|AnyCPU
- {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x86.Build.0 = x86 Debug|AnyCPU
+ {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x86.Build.0 = Debug|Any CPU
{8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Release|Any CPU.Build.0 = Release|Any CPU
{8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Release|ARM.ActiveCfg = Release|Any CPU
diff --git a/Ink Canvas/InkCanvasForClass.csproj b/Ink Canvas/InkCanvasForClass.csproj
index 44d6678b..80df8ba1 100644
--- a/Ink Canvas/InkCanvasForClass.csproj
+++ b/Ink Canvas/InkCanvasForClass.csproj
@@ -25,23 +25,17 @@
false
False
true
- Debug;Release;x86 Debug
+ Debug;Release
embedded
- bin\$(Configuration)\
+ bin\$(Configuration)\$(Platform)\
AnyCPU
false
-
- embedded
- bin\$(Configuration)\
- x86
- true
-
embedded
- bin\$(Configuration)\
+ bin\$(Configuration)\$(Platform)\
AnyCPU
false
@@ -49,22 +43,15 @@
Resources\icc.ico
- bin\$(Platform)\$(Configuration)\
- full
- 7.3
- x86
- true
-
-
- bin\$(Platform)\$(Configuration)\
- full
+ bin\$(Configuration)\$(Platform)\
+ embedded
7.3
x86
true
- bin\$(Platform)\$(Configuration)\
- pdbonly
+ bin\$(Configuration)\$(Platform)\
+ embedded
7.3
x86
true
@@ -81,42 +68,28 @@
False
- bin\$(Platform)\$(Configuration)\
- full
- 7.3
- ARM64
- false
-
-
- bin\$(Platform)\$(Configuration)\
+ bin\$(Configuration)\$(Platform)\
full
7.3
ARM64
false
- bin\$(Platform)\$(Configuration)\
+ bin\$(Configuration)\$(Platform)\
pdbonly
7.3
ARM64
false
- bin\$(Platform)\$(Configuration)\
- full
- 7.3
- x64
- false
-
-
- bin\$(Platform)\$(Configuration)\
+ bin\$(Configuration)\$(Platform)\
full
7.3
x64
false
- bin\$(Platform)\$(Configuration)\
+ bin\$(Configuration)\$(Platform)\
pdbonly
7.3
x64