Skip to content

Commit

Permalink
version varaible
Browse files Browse the repository at this point in the history
  • Loading branch information
wilyle committed Nov 20, 2023
1 parent 71e1930 commit 80f3b18
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dotnet-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ on:
branches:
- main

env:
DOTNET_VERSION: 6.0.119

jobs:
static_code_analysis:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
- name: Install .NET 6.0.119
- name: Install .NET $DOTNET_VERSION
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.119
dotnet-version: $DOTNET_VERSION
global-json-file: cloud_connectors/azure/digital_twins_connector/global.json
- name: Cache NuGet dependencies
uses: actions/cache@v3
Expand All @@ -35,6 +38,7 @@ jobs:
uses: dotnet/code-analysis@main
id: net-code-analysis
with:
dotnet-version: $DOTNET_VERSION
projects: cloud_connectors/azure/digital_twins_connector/src/core/DigitalTwinsConnector.csproj;
cloud_connectors/azure/digital_twins_connector/src/DigitalTwinsClientWrapper/DigitalTwinsClientWrapper.csproj;
cloud_connectors/azure/digital_twins_connector/tests/DigitalTwinsClientWrapper.Tests/DigitalTwinsClientWrapper.Tests.csproj;
Expand Down

0 comments on commit 80f3b18

Please sign in to comment.