File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,23 @@ jobs:
22
22
- os : ubuntu-latest
23
23
rid : linux-x64
24
24
steps :
25
- - uses : actions/checkout@v2
25
+ - uses : actions/checkout@v4
26
26
- name : Build
27
27
run : |
28
28
dotnet build -c Release -r ${{ matrix.rid }} -p:InstallYetAnotherHttpHandler=false
29
29
- uses : actions/upload-artifact@v4
30
30
with :
31
+ name : NuGetDependencies-${{ matrix.rid }}
31
32
path : Dependencies/NuGetDependencies/${{ matrix.rid }}
32
33
install-yetanotherhttphandler :
34
+ name : Install YetAnotherHttpHandler
33
35
runs-on : ubuntu-latest
34
36
steps :
37
+ - uses : actions/checkout@v4
35
38
- run : dotnet build /t:InstallYetAnotherHttpHandler
36
39
- uses : actions/upload-artifact@v4
37
40
with :
41
+ name : YetAnotherHttpHandler
38
42
path : Dependencies/YetAnotherHttpHandler
39
43
40
44
dispatch :
Original file line number Diff line number Diff line change 7
7
registry :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v2
10
+ - uses : actions/checkout@v4
11
11
- uses : actions/download-artifact@v4
12
12
with :
13
13
merge-multiple : true
Original file line number Diff line number Diff line change 7
7
release :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v2
10
+ - uses : actions/checkout@v4
11
11
with :
12
12
fetch-depth : 0
13
13
- name : Fetch next version
Original file line number Diff line number Diff line change 71
71
72
72
<!-- Download YetAnotherHttpHandler from GitHub and copy into Dependencies directory-->
73
73
<Target Name =" InstallYetAnotherHttpHandler" AfterTargets =" AfterBuild" Condition =" '$(InstallYetAnotherHttpHandler)' == 'true'" >
74
+ <RemoveDir Directories =" Dependencies/tmp" />
74
75
<Exec Command =" git clone --no-checkout --depth=1 --filter=tree:0 https://github.com/Cysharp/YetAnotherHttpHandler tmp" ConsoleToMSBuild =" true" WorkingDirectory =" Dependencies" />
75
76
<Exec Command =" git sparse-checkout set --no-cone /src/YetAnotherHttpHandler" ConsoleToMSBuild =" true" WorkingDirectory =" Dependencies/tmp" />
76
77
<Exec Command =" git checkout $(YetAnotherHttpHandlerVersion)" ConsoleToMSBuild =" true" WorkingDirectory =" Dependencies/tmp" />
77
78
<ItemGroup >
78
79
<PackageFiles Include =" Dependencies/tmp/src/YetAnotherHttpHandler/**/*.*" />
79
80
</ItemGroup >
80
81
<Copy SourceFiles =" @(PackageFiles)" DestinationFolder =" Dependencies/YetAnotherHttpHandler/%(RecursiveDir)" />
81
- <RemoveDir Directories =" Dependencies/tmp" />
82
+ <RemoveDir Directories =" Dependencies/tmp;obj " />
82
83
</Target >
83
84
</Project >
You can’t perform that action at this time.
0 commit comments