Skip to content

Commit

Permalink
[GH Actions] Fix build failing on macOS (MonoGame#8021)
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-cpp authored Apr 18, 2023
1 parent 2fa5961 commit 74597b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Setup Java
uses: actions/setup-java@v2
with:
Expand Down Expand Up @@ -62,7 +66,7 @@ jobs:
with:
name: Visual Studio for Mac Extension
path: |
Artifacts/MonoGame.Templates.VSMacExtension/Release/net6.0/*.mpack
Artifacts/MonoGame.Templates.VSMacExtension/Release/**/*.mpack
if-no-files-found: error
deploy:
name: deploy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<BaseOutputPath>..\..\Artifacts\MonoGame.Templates.VSMacExtension</BaseOutputPath>
<CreatePackage>true</CreatePackage>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.VisualStudioMac.Sdk" Version="17.0.0" />
<PackageReference Include="Microsoft.VisualStudioMac.Sdk" Version="17.5.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 74597b5

Please sign in to comment.