Skip to content

Commit a195503

Browse files
authored
Build FNA with .NET Framework
1 parent d768fdd commit a195503

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build-libs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717

1818
env:
1919
BUILD_TYPE: Release
20-
NET_FRAMEWORK: net7.0
20+
NET_FRAMEWORK: net4.0
2121

2222
jobs:
2323
build-fnalibs:
@@ -283,12 +283,12 @@ jobs:
283283
- uses: actions/setup-dotnet@v4
284284
if: ${{ matrix.platform == 'linux' }}
285285
with:
286-
dotnet-version: '8'
286+
dotnet-version: '4'
287287

288288
- name: Build FNA
289289
if: ${{ matrix.platform == 'linux' }}
290290
working-directory: source/FNA
291-
run: dotnet build -c ${{ env.BUILD_TYPE }} FNA.Core.csproj
291+
run: dotnet build -c ${{ env.BUILD_TYPE }} FNA.NetFramework.csproj
292292

293293
# Upload
294294
- name: Copy binaries (Windows)
@@ -312,8 +312,8 @@ jobs:
312312
- name: Copy binaries (Linux)
313313
if: ${{ matrix.platform == 'linux' }}
314314
run: |
315-
cp source/FNA/bin/${{ env.BUILD_TYPE }}/net7.0/FNA.dll FNA.dll
316-
cp source/FNA/bin/${{ env.BUILD_TYPE }}/net7.0/FNA.pdb FNA.pdb
315+
cp source/FNA/bin/${{ env.BUILD_TYPE }}/net4.0/FNA.dll FNA.dll
316+
cp source/FNA/bin/${{ env.BUILD_TYPE }}/net4.0/FNA.pdb FNA.pdb
317317
cp ${{ env.SDL2_DIR }}/lib/libSDL2-2.0.so.0 libSDL2-2.0.so.0
318318
cp source/FNA/lib/FAudio/build/libFAudio.so.0 libFAudio.so.0
319319
cp source/FNA/lib/FNA3D/build/libFNA3D.so.0 libFNA3D.so.0

0 commit comments

Comments
 (0)