|
57 | 57 |
|
58 | 58 | - name: Checkout |
59 | 59 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
60 | | - with: |
61 | | - fetch-depth: 0 |
62 | 60 | - name: Run Shellcheck |
63 | 61 | run: | |
64 | 62 | find ${{ github.workspace }} -name "*.sh" -exec shellcheck --severity=error {} + |
@@ -86,13 +84,21 @@ jobs: |
86 | 84 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
87 | 85 | with: |
88 | 86 | fetch-depth: 0 |
| 87 | + filter: blob:none |
| 88 | + |
| 89 | + - name: Cache NuGet packages |
| 90 | + uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 |
| 91 | + with: |
| 92 | + path: ~/.nuget/packages |
| 93 | + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/Directory.Packages.props') }} |
| 94 | + restore-keys: ${{ runner.os }}-nuget- |
89 | 95 |
|
90 | 96 | - name: Install latest .NET 10 SDK |
91 | 97 | uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 |
92 | 98 | with: |
93 | 99 | dotnet-version: '10.0.x' |
94 | 100 | dotnet-quality: 'ga' |
95 | | - |
| 101 | + |
96 | 102 | - name: Build FullAgent.sln |
97 | 103 | run: | |
98 | 104 | Write-Host "dotnet build --force --configuration Release -p:AllowUnsafeBlocks=true ${{ env.fullagent_solution_path }}" |
@@ -182,13 +188,21 @@ jobs: |
182 | 188 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
183 | 189 | with: |
184 | 190 | fetch-depth: 0 |
| 191 | + filter: blob:none |
| 192 | + |
| 193 | + - name: Cache NuGet packages |
| 194 | + uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 |
| 195 | + with: |
| 196 | + path: ~/.nuget/packages |
| 197 | + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/Directory.Packages.props') }} |
| 198 | + restore-keys: ${{ runner.os }}-nuget- |
185 | 199 |
|
186 | 200 | - name: Install latest .NET 10 SDK |
187 | 201 | uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 |
188 | 202 | with: |
189 | 203 | dotnet-version: '10.0.x' |
190 | 204 | dotnet-quality: 'ga' |
191 | | - |
| 205 | + |
192 | 206 | - name: Add msbuild to PATH |
193 | 207 | uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0 |
194 | 208 | # if needed for future .NET preview builds: |
@@ -231,6 +245,14 @@ jobs: |
231 | 245 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
232 | 246 | with: |
233 | 247 | fetch-depth: 0 |
| 248 | + filter: blob:none |
| 249 | + |
| 250 | + - name: Cache NuGet packages |
| 251 | + uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 |
| 252 | + with: |
| 253 | + path: ~/.nuget/packages |
| 254 | + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/Directory.Packages.props') }} |
| 255 | + restore-keys: ${{ runner.os }}-nuget- |
234 | 256 |
|
235 | 257 | - name: Install latest .NET 10 SDK |
236 | 258 | uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 |
@@ -346,8 +368,6 @@ jobs: |
346 | 368 | steps: |
347 | 369 | - name: Checkout |
348 | 370 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
349 | | - with: |
350 | | - fetch-depth: 0 |
351 | 371 |
|
352 | 372 | - name: Disable TLS 1.3 |
353 | 373 | run: | |
@@ -550,8 +570,6 @@ jobs: |
550 | 570 | steps: |
551 | 571 | - name: Checkout |
552 | 572 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
553 | | - with: |
554 | | - fetch-depth: 0 |
555 | 573 |
|
556 | 574 | - name: Download Agent Home Folders |
557 | 575 | uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0 |
@@ -722,8 +740,6 @@ jobs: |
722 | 740 |
|
723 | 741 | - name: Checkout |
724 | 742 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
725 | | - with: |
726 | | - fetch-depth: 0 |
727 | 743 |
|
728 | 744 | - name: Download msi _build Artifacts |
729 | 745 | uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0 |
@@ -789,8 +805,6 @@ jobs: |
789 | 805 |
|
790 | 806 | - name: Checkout |
791 | 807 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
792 | | - with: |
793 | | - fetch-depth: 0 |
794 | 808 |
|
795 | 809 | - name: Download Agent Home Folders |
796 | 810 | uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0 |
@@ -844,6 +858,7 @@ jobs: |
844 | 858 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
845 | 859 | with: |
846 | 860 | fetch-depth: 0 |
| 861 | + filter: blob:none |
847 | 862 |
|
848 | 863 | - name: Download Agent Home Folders |
849 | 864 | uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0 |
|
0 commit comments