Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/frank/multitarget_dotnet' into f…
Browse files Browse the repository at this point in the history
…rank/multitarget_dotnet
  • Loading branch information
frankhaugen committed Dec 14, 2023
2 parents 1831408 + 9c1eba0 commit 77843a2
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,15 @@ jobs:
build_and_test:
needs: prepare_versions
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['7.0.x', '8.0.x']
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore
- name: Build (Conditional Versioning)
Expand All @@ -62,12 +65,15 @@ jobs:
needs: [prepare_versions, build_and_test]
if: github.event_name == 'push'
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['7.0.x', '8.0.x']
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
dotnet-version: ${{ matrix.dotnet-version }}
- name: Download Artifacts
uses: actions/download-artifact@v2
with:
Expand All @@ -81,12 +87,15 @@ jobs:
needs: [prepare_versions, build_and_test]
if: github.event_name == 'release'
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['7.0.x', '8.0.x']
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
dotnet-version: ${{ matrix.dotnet-version }}
- name: Download Artifacts
uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit 77843a2

Please sign in to comment.