Skip to content

Commit 85d37be

Browse files
author
Petr Sramek
committed
fixed platform value
1 parent 04c947f commit 85d37be

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/build/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ inputs:
2222
required: false
2323
default: 'Release'
2424
build-platform:
25-
description: 'Build platform. Deafult: anycpu'
25+
description: 'Build platform. Deafult: Any CPU'
2626
required: false
27-
default: 'anycpu'
27+
default: 'Any CPU'
2828
build-glob-pattern:
2929
description: 'Search pattern for source code. Default: **/*.csproj'
3030
required: false
@@ -56,7 +56,7 @@ runs:
5656

5757
- name: 'Build with .NET CLI'
5858
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 }}
6060

6161
- name: 'Upload build artifacts'
6262
if: ${{ inputs.upload-build-artifacts == 'true' }}

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env:
3030
is-preview: ${{ startsWith(github.ref_name, 'preview') }}
3131
dotnet-sdk-version: '9.x'
3232
build-configuration: 'Release'
33-
build-platform: 'anycpu'
33+
build-platform: 'Any CPU'
3434
git-version: '6.0.x'
3535

3636
jobs:
@@ -143,7 +143,7 @@ jobs:
143143
with:
144144
name: build
145145
- 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/
147147
- name: Upload Package
148148
uses: actions/upload-artifact@v4
149149
with:

0 commit comments

Comments
 (0)