Skip to content

Commit

Permalink
Fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensley committed Jan 21, 2021
1 parent b6f1865 commit efaae07
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101

- name: Setup msbuild
uses: microsoft/setup-msbuild@v1
dotnet-version: '5.0.x'

- uses: actions/cache@v1
with:
Expand All @@ -40,10 +37,10 @@ jobs:
${{ runner.os }}-nuget-
- name: Build
run: msbuild /restore ${{ env.PlatformBuildParameters }} ${{ env.BuildParameters }}
run: dotnet build ${{ env.PlatformBuildParameters }} ${{ env.BuildParameters }}

- name: Pack
run: msbuild /t:Pack ${{ env.PlatformBuildParameters }} ${{ env.BuildParameters }}
run: dotnet pack ${{ env.PlatformBuildParameters }} ${{ env.BuildParameters }}

- name: Upload artifacts
uses: actions/upload-artifact@v2
Expand All @@ -64,10 +61,10 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
dotnet-version: '5.0.x'

- name: setup-xamarin
uses: maxim-lobanov/setup-xamarin@v1.1
uses: maxim-lobanov/setup-xamarin@v1
with:
mono-version: latest
xamarin-mac-version: latest
Expand All @@ -81,10 +78,10 @@ jobs:
${{ runner.os }}-nuget-
- name: Build
run: msbuild /restore ${{ env.PlatformBuildParameters }} ${{ env.BuildParameters }}
run: dotnet build ${{ env.PlatformBuildParameters }} ${{ env.BuildParameters }}

- name: Pack
run: msbuild /t:Pack ${{ env.PlatformBuildParameters }} ${{ env.BuildParameters }}
run: dotnet pack ${{ env.PlatformBuildParameters }} ${{ env.BuildParameters }}

# - name: Upload artifacts
# uses: actions/upload-artifact@v2
Expand Down

0 comments on commit efaae07

Please sign in to comment.