Skip to content

Commit

Permalink
GitHub Actions: Added the installation of .NET 6.0 for building the N…
Browse files Browse the repository at this point in the history
…uGet package
  • Loading branch information
MikhailGorobets committed Nov 20, 2023
1 parent 48f3e61 commit aa90bf5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-nuget-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,20 @@ jobs:
toolset: [x64]
config: [Debug, Release]

runs-on: windows-latest
runs-on: windows-2022
name: Windows 10, ${{ matrix.config }} ${{ matrix.toolset }}

steps:
- name: Clone repository
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
submodules: recursive

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Install python packages
working-directory: ${{github.workspace}}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/publish-nuget-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
deploy:
runs-on: windows-latest
runs-on: windows-2022
name: Deploying NuGet package

steps:
Expand All @@ -23,6 +23,11 @@ jobs:
fetch-depth: 0
submodules: recursive

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Install python packages
working-directory: ${{github.workspace}}
run: python -m pip install -r ./BuildTools/.NET/requirements.txt
Expand Down

0 comments on commit aa90bf5

Please sign in to comment.