Tweak msbuild
This commit is contained in:
parent
b4834bafe6
commit
d764c3c155
@ -16,7 +16,7 @@ jobs:
|
|||||||
- name: Show .NET version
|
- name: Show .NET version
|
||||||
run: dotnet --version
|
run: dotnet --version
|
||||||
|
|
||||||
- name: Extract version
|
- name: Extract version from tag
|
||||||
id: version
|
id: version
|
||||||
run: |
|
run: |
|
||||||
VERSION="${GITEA_REF_NAME#OFDLV}"
|
VERSION="${GITEA_REF_NAME#OFDLV}"
|
||||||
@ -25,8 +25,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Build for Windows and Linux
|
- name: Build for Windows and Linux
|
||||||
run: |
|
run: |
|
||||||
dotnet publish -p:Version=${{ steps.version.outputs.version }} -p:WarningLevel=0 -c Release -r win-x86 --self-contained true -p:PublishSingleFile=true -o outwin
|
dotnet publish -p:Version=${{ steps.version.outputs.version }} \
|
||||||
dotnet publish -p:Version=${{ steps.version.outputs.version }} -p:WarningLevel=0 -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -o outlin
|
-p:PackageVersion=${{ steps.version.outputs.version }} \
|
||||||
|
-p:WarningLevel=0 -c Release -r win-x86 \
|
||||||
|
--self-contained true -p:PublishSingleFile=true -o outwin
|
||||||
|
|
||||||
|
dotnet publish -p:Version=${{ steps.version.outputs.version }} \
|
||||||
|
-p:PackageVersion=${{ steps.version.outputs.version }} \
|
||||||
|
-p:WarningLevel=0 -c Release -r linux-x64 \
|
||||||
|
--self-contained true -p:PublishSingleFile=true -o outlin
|
||||||
|
|
||||||
- name: Copy and patch extra files
|
- name: Copy and patch extra files
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user