Skip to content

Commit

Permalink
Add install_dependencies step
Browse files Browse the repository at this point in the history
(preparing for CI)
  • Loading branch information
Lamparter authored Oct 6, 2024
1 parent b1449f7 commit 7d0f33c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/steps/install_dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Install Dependencies
description: ""

inputs:
dotnet-version:
description: 'Installs and sets the .NET SDK Version'
required: false
default: '8.0.x'
sdkVersion:
description: 'The version of the Windows Sdk'
required: false
default: '22621'

runs:
using: "composite"
steps:
# Install .NET
- name: Setup .NET ${{ inputs.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: '${{ inputs.dotnet-version }}'

# Install Windows SDK
- name: Install Windows SDK ${{ inputs.sdkVersion }}
shell: pwsh
if: ${{ runner.os == 'Windows' }}
run: .\.github\Install-WindowsSdkISO.ps1 ${{ inputs.sdkVersion }}

0 comments on commit 7d0f33c

Please sign in to comment.