Skip to content

Commit

Permalink
Merge 71714c2 into 2f77c1c
Browse files Browse the repository at this point in the history
  • Loading branch information
faustodavid committed Aug 25, 2020
2 parents 2f77c1c + 71714c2 commit dfb4fe5
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/build.yml
Expand Up @@ -8,15 +8,24 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1

- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v1.4.0
- name: Setup .net core 2.2
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.2.402

- name: Setup .net core 3.1
uses: actions/setup-dotnet@v1
with:
version: 3.1.100
dotnet-version: 3.1.401

- name: .net SxS
run: |
rsync -a ${DOTNET_ROOT/3.1.401/2.2.402}/* $DOTNET_ROOT/
- name: dotnet restore
run: dotnet restore --packages .nuget/packages
Expand All @@ -33,7 +42,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

pack:
runs-on: windows-latest
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push'
steps:
Expand All @@ -42,9 +51,9 @@ jobs:
uses: actions/checkout@v1

- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v1.4.0
uses: actions/setup-dotnet@v1
with:
version: 3.1.100
dotnet-version: 3.1.401

- name: dotnet restore
run: dotnet restore --packages .nuget/packages
Expand Down

0 comments on commit dfb4fe5

Please sign in to comment.