Skip to content

Commit 36436ec

Browse files
committed
update aot workflow
1 parent 9764ab9 commit 36436ec

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed
File renamed without changes.

.github/workflows/dotnet-aot-check.yaml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,4 @@ jobs:
3838
-p:PublishAot=true \
3939
-p:EnableCompilationRelaxations=false
4040
env:
41-
DOTNET_CLI_TELEMETRY_OPTOUT: 1
42-
43-
- name: Verify AOT output
44-
run: |
45-
$publishDir = "./src/c#/GeneralUpdate.Client/bin/Release/net9.0/${{ matrix.runtime }}/publish"
46-
if ($env:RUNNER_OS -eq "Windows" -and -not (Test-Path "$publishDir/GeneralUpdate.Client.exe")) {
47-
throw "AOT compiled executable not found for Windows"
48-
}
49-
if ($env:RUNNER_OS -eq "Linux" -and -not (Test-Path "$publishDir/GeneralUpdate.Client")) {
50-
throw "AOT compiled executable not found for Linux"
51-
}
52-
shell: pwsh
41+
DOTNET_CLI_TELEMETRY_OPTOUT: 1

0 commit comments

Comments
 (0)