Skip to content

Commit

Permalink
Updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ben_pollard committed Dec 21, 2023
1 parent fb77752 commit 6dbf4a4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
permissions:
contents: read

env:
DOTNET_VERSION: '2.1.x'

jobs:
build:
runs-on: windows-latest
Expand All @@ -23,10 +26,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v5
- name: Setup DotNet ${{ env.DOTNET_VERSION }} Environment
uses: actions/setup-dotnet@v3
with:
dotnet-version: 5.0.100
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Restore dependencies
run: dotnet restore
Expand Down

0 comments on commit 6dbf4a4

Please sign in to comment.