forked from jpogran/PuppetDscBuilder
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Gavin Didrichsen <[email protected]>
- Loading branch information
1 parent
2a4da54
commit e78f1b5
Showing
2 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# .github/actions/install-pdk/action.yml | ||
name: 'Install PDK' | ||
description: 'Installs winget and PDK' | ||
inputs: | ||
GITHUB_TOKEN: | ||
description: 'GitHub token' | ||
required: true | ||
pdk_version: | ||
description: 'PDK version to install' | ||
required: true | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Install winget | ||
uses: Cyberboss/install-winget@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} | ||
- name: Install PDK | ||
run: | | ||
winget install pdk --version=${{ inputs.pdk_version }} --silent --accept-source-agreements | ||
shell: powershell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters