File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ inputs:
22
22
required : false
23
23
default : ' Release'
24
24
build-platform :
25
- description : ' Build platform. Deafult: anycpu '
25
+ description : ' Build platform. Deafult: Any CPU '
26
26
required : false
27
- default : ' anycpu '
27
+ default : ' Any CPU '
28
28
build-glob-pattern :
29
29
description : ' Search pattern for source code. Default: **/*.csproj'
30
30
required : false
56
56
57
57
- name : ' Build with .NET CLI'
58
58
shell : bash
59
- run : dotnet build ${{ inputs.search-pattern }} --configuration ${{ inputs.build-configuration }} /p:Platform=${{ inputs.build-platform }} /p:Version=${{ inputs.assembly-version }} /p:AssemblyInformationalVersion=${{ inputs.assembly--informational-version }} /p:FileVersion=${{ inputs.assembly-file-version }}
59
+ run : dotnet build ${{ inputs.search-pattern }} --configuration ${{ inputs.build-configuration }} /p:Platform=" ${{ inputs.build-platform }}" /p:Version=${{ inputs.assembly-version }} /p:AssemblyInformationalVersion=${{ inputs.assembly--informational-version }} /p:FileVersion=${{ inputs.assembly-file-version }}
60
60
61
61
- name : ' Upload build artifacts'
62
62
if : ${{ inputs.upload-build-artifacts == 'true' }}
Original file line number Diff line number Diff line change 30
30
is-preview : ${{ startsWith(github.ref_name, 'preview') }}
31
31
dotnet-sdk-version : ' 9.x'
32
32
build-configuration : ' Release'
33
- build-platform : ' anycpu '
33
+ build-platform : ' Any CPU '
34
34
git-version : ' 6.0.x'
35
35
36
36
jobs :
@@ -143,7 +143,7 @@ jobs:
143
143
with :
144
144
name : build
145
145
- name : Pack with .NET
146
- run : dotnet pack ${{ vars.SRC_DEFAULT_GLOB_PATTERN }} --no-build --no-restore --configuration ${{ env.build-configuration }} /p:Platform=${{ env.build-platform }} /p:PackageVersion=${{ env.PACKAGE_VERSION }} /p:Version=${{ env.ASSEMBLY_VERSION }} /p:AssemblyInformationalVersion=${{ env.ASSEMBLY_INFORMATIONAL_VERSION }} /p:FileVersion=${{ env.FILE_VERSION }} --output ${{ runner.temp }}/packages/
146
+ run : dotnet pack ${{ vars.SRC_DEFAULT_GLOB_PATTERN }} --no-build --no-restore --configuration ${{ env.build-configuration }} /p:Platform=" ${{ env.build-platform }}" /p:PackageVersion=${{ env.PACKAGE_VERSION }} /p:Version=${{ env.ASSEMBLY_VERSION }} /p:AssemblyInformationalVersion=${{ env.ASSEMBLY_INFORMATIONAL_VERSION }} /p:FileVersion=${{ env.FILE_VERSION }} --output ${{ runner.temp }}/packages/
147
147
- name : Upload Package
148
148
uses : actions/upload-artifact@v4
149
149
with :
You can’t perform that action at this time.
0 commit comments