Skip to content

Commit

Permalink
Use both .NET 5.0 and .NET 3.1 on CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Apr 18, 2021
1 parent 83b4b92 commit 39feefc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ jobs:
- name: Checkout
uses: actions/[email protected]

- name: Install .NET Core
- name: Install .NET (v3.1)
uses: actions/[email protected]
with:
dotnet-version: '3.1.x'
dotnet-version: 3.1.x

- name: Install .NET (v5.0)
uses: actions/[email protected]
with:
dotnet-version: 5.0.x

- name: Build & publish
run: dotnet publish YoutubeDownloader/ -o YoutubeDownloader/bin/Publish --configuration Release
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ jobs:
- name: Checkout
uses: actions/[email protected]

- name: Install .NET Core
- name: Install .NET (v3.1)
uses: actions/[email protected]
with:
dotnet-version: '3.1.x'
dotnet-version: 3.1.x

- name: Install .NET (v5.0)
uses: actions/[email protected]
with:
dotnet-version: 5.0.x

- name: Build & publish
run: dotnet publish YoutubeDownloader/ -o YoutubeDownloader/bin/Publish --configuration Release
Expand Down

0 comments on commit 39feefc

Please sign in to comment.