Update build.yml

This commit is contained in:
Emotion 2022-05-21 02:11:18 +12:00 committed by GitHub
parent 5bd05b1749
commit de5667009d
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,12 +50,26 @@ jobs:
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
steps:
- uses: EasyDesk/action-dotnet-build@v1
with:
# (Optional) Additional arguments for dotnet build.
build-args: -v normal
# (Optional) Build configuration, defaults to 'Release'
# If the version starts with the 'v' prefix, it will be removed to conform to the requirements of dotnet pack.
build-configuration: Release
# (Optional) The path of the project to build; if omitted, the whole solution is built
path: ./SupportChild/
- uses: EasyDesk/action-dotnet-publish@v1
with:
# (Optional) The path to the project that should be published.
# If not specified, defaults to '.'.
path: 'SupportChild'
path: './SupportChild/'
# (Optional) Additional command line arguments to be passed to 'dotnet test'.
# If not specified, defaults to 'packages'.