Skip to content

Commit 75164c8

Browse files
arthurkehrwaldfreezy
authored andcommitted
Maybe fix build errors
1 parent 1ec6e7a commit 75164c8

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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:

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
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

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
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

VisualPinball.Engine.Mpf.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,14 @@
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>

0 commit comments

Comments
 (0)