7272 -
7373 name : Checkout
7474 uses : actions/checkout@v2
75- -
76- name : Fetch all history for all tags and branches
77- run : git fetch --prune --unshallow
75+ with :
76+ fetch-depth : 0
7877 -
7978 name : Use cached cake frosting
8079 id : cache-cake
@@ -109,6 +108,14 @@ jobs:
109108 -
110109 name : ' Upload native packages'
111110111+ if : matrix.os == 'windows-latest'
112+ with :
113+ name : native-${{ runner.os }}
114+ path : ${{ github.workspace }}/artifacts/packages/native/*.zip
115+ -
116+ name : ' Upload native packages'
117+ 118+ if : matrix.os != 'windows-latest'
112119 with :
113120 name : native-${{ runner.os }}
114121 path : ${{ github.workspace }}/artifacts/packages/native/*.tar.gz
@@ -122,16 +129,15 @@ jobs:
122129 strategy :
123130 matrix :
124131 os : [windows-latest, ubuntu-latest, macos-latest]
125- targetFramework : [net5.0, net6.0, netcoreapp3.1]
132+ targetFramework : [net48, net5.0, net6.0, netcoreapp3.1]
126133 fail-fast : false
127134
128135 steps :
129136 -
130137 name : Checkout
131138 uses : actions/checkout@v2
132- -
133- name : Fetch all history for all tags and branches
134- run : git fetch --prune --unshallow
139+ with :
140+ fetch-depth : 0
135141 -
136142 name : Use cached cake frosting
137143 id : cache-cake
@@ -170,9 +176,8 @@ jobs:
170176 -
171177 name : Checkout
172178 uses : actions/checkout@v2
173- -
174- name : Fetch all history for all tags and branches
175- run : git fetch --prune --unshallow
179+ with :
180+ fetch-depth : 0
176181 -
177182 name : Use cached cake frosting
178183 id : cache-cake
@@ -218,9 +223,8 @@ jobs:
218223 -
219224 name : Checkout
220225 uses : actions/checkout@v2
221- -
222- name : Fetch all history for all tags and branches
223- run : git fetch --prune --unshallow
226+ with :
227+ fetch-depth : 0
224228 -
225229 name : Use cached cake frosting
226230 id : cache-cake
@@ -264,7 +268,7 @@ jobs:
264268 -
265269 name : ' [Test Artifacts (amd64)]'
266270 shell : pwsh
267- run : dotnet run/artifacts.dll --target=ArtifactsTest --arch amd64 --docker_dotnetversion=${{ matrix.targetFramework }} --docker_distro=${{ matrix.distro }} --verbosity=diagnostic
271+ run : dotnet run/artifacts.dll --target=ArtifactsTest --arch amd64 --docker_dotnetversion=${{ matrix.targetFramework }} --docker_distro=${{ matrix.distro }}
268272 -
269273 name : ' [Test Artifacts (arm64)]'
270274 shell : pwsh
@@ -284,9 +288,8 @@ jobs:
284288 -
285289 name : Checkout
286290 uses : actions/checkout@v2
287- -
288- name : Fetch all history for all tags and branches
289- run : git fetch --prune --unshallow
291+ with :
292+ fetch-depth : 0
290293 -
291294 name : Use cached cake frosting
292295 id : cache-cake
@@ -384,9 +387,8 @@ jobs:
384387 -
385388 name : Checkout
386389 uses : actions/checkout@v2
387- -
388- name : Fetch all history for all tags and branches
389- run : git fetch --prune --unshallow
390+ with :
391+ fetch-depth : 0
390392 -
391393 name : Use cached cake frosting
392394 id : cache-cake
@@ -428,9 +430,8 @@ jobs:
428430 -
429431 name : Checkout
430432 uses : actions/checkout@v2
431- -
432- name : Fetch all history for all tags and branches
433- run : git fetch --prune --unshallow
433+ with :
434+ fetch-depth : 0
434435 -
435436 name : Use cached cake frosting
436437 id : cache-cake
0 commit comments