We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d37be commit 0d7ef07Copy full SHA for 0d7ef07
.github/actions/build/action.yml
@@ -53,7 +53,13 @@ runs:
53
uses: actions/setup-dotnet@v4
54
with:
55
dotnet-version: ${{ inputs.dotnet_sdk_version }}
56
-
+ cache: true
57
+ cache-dependency-path: "**/packages.lock.json"
58
+
59
+ - name: 'Restore packages with .NET CLI'
60
+ shell: bash
61
+ run: dotnet restore ${{ inputs.search-pattern }}
62
63
- name: 'Build with .NET CLI'
64
shell: bash
65
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 }}
0 commit comments