File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515
1616 - name : setup-dotnet
1717 uses : actions/setup-dotnet@v4
18+ with :
19+ cache : true
1820
1921 - name : Cache NuGet packages
2022 uses : actions/cache@v4
4244 # setup dotnet based on global.json
4345 - name : setup-dotnet
4446 uses : actions/setup-dotnet@v4
47+ with :
48+ cache : true
4549
4650 # cache NuGet packages to avoid re-downloading on every run
4751 - name : Cache NuGet packages
Original file line number Diff line number Diff line change @@ -18,13 +18,17 @@ jobs:
1818 # setup dotnet based on global.json
1919 - name : setup-dotnet
2020 uses : actions/setup-dotnet@v4
21+ with :
22+ cache : true
23+
2124 # cache NuGet packages to avoid re-downloading on every run
2225 - name : Cache NuGet packages
2326 uses : actions/cache@v4
2427 with :
2528 path : ~/.nuget/packages
2629 key : nuget-${{ runner.os }}-${{ hashFiles('**/*.fsproj', '**/*.csproj', 'global.json') }}
2730 restore-keys : nuget-${{ runner.os }}-
31+
2832 # build it, test it, pack it
2933 - name : Run dotnet build (release)
3034 # see issue #105
@@ -44,13 +48,17 @@ jobs:
4448 # setup dotnet based on global.json
4549 - name : setup-dotnet
4650 uses : actions/setup-dotnet@v4
51+ with :
52+ cache : true
53+
4754 # cache NuGet packages to avoid re-downloading on every run
4855 - name : Cache NuGet packages
4956 uses : actions/cache@v4
5057 with :
5158 path : ~/.nuget/packages
5259 key : nuget-${{ runner.os }}-${{ hashFiles('**/*.fsproj', '**/*.csproj', 'global.json') }}
5360 restore-keys : nuget-${{ runner.os }}-
61+
5462 # build it, test it, pack it
5563 - name : Run dotnet test - release
5664 # see issue #105
Original file line number Diff line number Diff line change 2222 # setup dotnet based on global.json
2323 - name : setup-dotnet
2424 uses : actions/setup-dotnet@v4
25+ with :
26+ cache : true
2527 # build it, test it, pack it, publish it
2628 - name : Run dotnet build (release, for nuget)
2729 # see issue #105 and #243
Original file line number Diff line number Diff line change 1616 # setup dotnet based on global.json
1717 - name : setup-dotnet
1818 uses : actions/setup-dotnet@v4
19+ with :
20+ cache : true
1921
2022 # cache NuGet packages to avoid re-downloading on every run
2123 - name : Cache NuGet packages
5456 # setup dotnet based on global.json
5557 - name : setup-dotnet
5658 uses : actions/setup-dotnet@v4
59+ with :
60+ cache : true
5761
5862 # cache NuGet packages to avoid re-downloading on every run
5963 - name : Cache NuGet packages
You can’t perform that action at this time.
0 commit comments