Update build.yml
This commit is contained in:
parent
d8687ab682
commit
a70b256b1e
|
@ -22,6 +22,8 @@ jobs:
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: ${{env.DOTNET_VERSION}}
|
dotnet-version: ${{env.DOTNET_VERSION}}
|
||||||
|
- name: Dotnet Version
|
||||||
|
run: dotnet --version
|
||||||
- name: Enable Extra Platforms In SDK
|
- name: Enable Extra Platforms In SDK
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
@ -39,6 +41,7 @@ jobs:
|
||||||
if grep -qv freebsd-x64 src/Directory.Build.props; then
|
if grep -qv freebsd-x64 src/Directory.Build.props; then
|
||||||
sed -i'' -e "s^<RuntimeIdentifiers>\(.*\)</RuntimeIdentifiers>^<RuntimeIdentifiers>\1;freebsd-x64;linux-x86</RuntimeIdentifiers>^g" src/Directory.Build.props
|
sed -i'' -e "s^<RuntimeIdentifiers>\(.*\)</RuntimeIdentifiers>^<RuntimeIdentifiers>\1;freebsd-x64;linux-x86</RuntimeIdentifiers>^g" src/Directory.Build.props
|
||||||
fi
|
fi
|
||||||
|
- name: Dotnet Version Before Build
|
||||||
|
run: dotnet --version
|
||||||
- name: Build Backend
|
- name: Build Backend
|
||||||
shell: bash
|
|
||||||
run: dotnet msbuild -restore ${{env.SOLUTION_FILE}} -p:Configuration=Release -p:Platform=Windows -t:PublishAllRids
|
run: dotnet msbuild -restore ${{env.SOLUTION_FILE}} -p:Configuration=Release -p:Platform=Windows -t:PublishAllRids
|
||||||
|
|
Loading…
Reference in New Issue