Skip to content

Commit 953a64f

Browse files
author
Petr Sramek
committed
zdfdsf
1 parent bdc847a commit 953a64f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/actions/build/action.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ inputs:
3939
default: |
4040
'**/bin/*'
4141
'**/obj/*'
42-
'~/.nuget/packages'
42+
'**/.nuget/packages'
4343
build-artifacts-name:
4444
description: 'Upload build artifacts, Default: build'
4545
required: false
@@ -54,14 +54,10 @@ runs:
5454
uses: actions/setup-dotnet@v4
5555
with:
5656
dotnet-version: ${{ inputs.dotnet_sdk_version }}
57-
58-
- name: 'Restore packages with .NET CLI'
59-
shell: bash
60-
run: dotnet restore
6157

6258
- name: 'Build with .NET CLI'
6359
shell: bash
64-
run: dotnet build ${{ inputs.search-pattern }} --no-restore --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+
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 }}
6561

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

0 commit comments

Comments
 (0)