File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ definitions:
127
127
- *setup-dotnet
128
128
- name : Publish
129
129
run : |
130
- dotnet publish -r "${rid}" -c Release src/Verlite.CLI/Verlite.CLI.csproj -p:PublishAot =true -o build
130
+ dotnet publish -r "${rid}" -c Release src/Verlite.CLI/Verlite.CLI.csproj -p:VerliteAot =true -o build
131
131
mkdir -p artifacts
132
132
cp "build/${exe}" "artifacts/${exe}"
133
133
cd artifacts/
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ jobs:
100
100
101
101
- name : Publish
102
102
run : |
103
- dotnet publish -r "${rid}" -c Release src/Verlite.CLI/Verlite.CLI.csproj -p:PublishAot =true -o build
103
+ dotnet publish -r "${rid}" -c Release src/Verlite.CLI/Verlite.CLI.csproj -p:VerliteAot =true -o build
104
104
mkdir -p artifacts
105
105
cp "build/${exe}" "artifacts/${exe}"
106
106
cd artifacts/
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ jobs:
100
100
101
101
- name : Publish
102
102
run : |
103
- dotnet publish -r "${rid}" -c Release src/Verlite.CLI/Verlite.CLI.csproj -p:PublishAot =true -o build
103
+ dotnet publish -r "${rid}" -c Release src/Verlite.CLI/Verlite.CLI.csproj -p:VerliteAot =true -o build
104
104
mkdir -p artifacts
105
105
cp "build/${exe}" "artifacts/${exe}"
106
106
cd artifacts/
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101
101
102
102
- name : Publish
103
103
run : |
104
- dotnet publish -r "${rid}" -c Release src/Verlite.CLI/Verlite.CLI.csproj -p:PublishAot =true -o build
104
+ dotnet publish -r "${rid}" -c Release src/Verlite.CLI/Verlite.CLI.csproj -p:VerliteAot =true -o build
105
105
mkdir -p artifacts
106
106
cp "build/${exe}" "artifacts/${exe}"
107
107
cd artifacts/
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
+ <PropertyGroup Condition =" '$(VerliteAot)'=='true'" >
4
+ <PublishAot >true</PublishAot >
5
+ </PropertyGroup >
6
+
3
7
<PropertyGroup Condition =" '$(PublishAot)'!='true'" >
4
8
<TargetFramework >netcoreapp2.1</TargetFramework >
5
9
<TargetFrameworks >netcoreapp2.1;net5.0;</TargetFrameworks >
You can’t perform that action at this time.
0 commit comments