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:
2222 - os : ubuntu-latest
2323 rid : linux-x64
2424 steps :
25- - uses : actions/checkout@v2
25+ - uses : actions/checkout@v4
2626 - name : Build
2727 run : |
2828 dotnet build -c Release -r ${{ matrix.rid }} -p:InstallYetAnotherHttpHandler=false
2929 - uses : actions/upload-artifact@v4
3030 with :
31+ name : NuGetDependencies-${{ matrix.rid }}
3132 path : Dependencies/NuGetDependencies/${{ matrix.rid }}
3233 install-yetanotherhttphandler :
34+ name : Install YetAnotherHttpHandler
3335 runs-on : ubuntu-latest
3436 steps :
37+ - uses : actions/checkout@v4
3538 - run : dotnet build /t:InstallYetAnotherHttpHandler
3639 - uses : actions/upload-artifact@v4
3740 with :
41+ name : YetAnotherHttpHandler
3842 path : Dependencies/YetAnotherHttpHandler
3943
4044 dispatch :
Original file line number Diff line number Diff line change 77 registry :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v2
10+ - uses : actions/checkout@v4
1111 - uses : actions/download-artifact@v4
1212 with :
1313 merge-multiple : true
Original file line number Diff line number Diff line change 77 release :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v2
10+ - uses : actions/checkout@v4
1111 with :
1212 fetch-depth : 0
1313 - name : Fetch next version
Original file line number Diff line number Diff line change 7171
7272 <!-- Download YetAnotherHttpHandler from GitHub and copy into Dependencies directory-->
7373 <Target Name =" InstallYetAnotherHttpHandler" AfterTargets =" AfterBuild" Condition =" '$(InstallYetAnotherHttpHandler)' == 'true'" >
74+ <RemoveDir Directories =" Dependencies/tmp" />
7475 <Exec Command =" git clone --no-checkout --depth=1 --filter=tree:0 https://github.com/Cysharp/YetAnotherHttpHandler tmp" ConsoleToMSBuild =" true" WorkingDirectory =" Dependencies" />
7576 <Exec Command =" git sparse-checkout set --no-cone /src/YetAnotherHttpHandler" ConsoleToMSBuild =" true" WorkingDirectory =" Dependencies/tmp" />
7677 <Exec Command =" git checkout $(YetAnotherHttpHandlerVersion)" ConsoleToMSBuild =" true" WorkingDirectory =" Dependencies/tmp" />
7778 <ItemGroup >
7879 <PackageFiles Include =" Dependencies/tmp/src/YetAnotherHttpHandler/**/*.*" />
7980 </ItemGroup >
8081 <Copy SourceFiles =" @(PackageFiles)" DestinationFolder =" Dependencies/YetAnotherHttpHandler/%(RecursiveDir)" />
81- <RemoveDir Directories =" Dependencies/tmp" />
82+ <RemoveDir Directories =" Dependencies/tmp;obj " />
8283 </Target >
8384</Project >
You can’t perform that action at this time.
0 commit comments