Skip to content

Commit 8eba500

Browse files
Update .github/actions/setup-gdk/action.yml
Co-authored-by: Bruno Garcia <[email protected]>
1 parent adb69c2 commit 8eba500

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/setup-gdk/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ runs:
2727
- name: Install GDK
2828
if: ${{ steps.cache-gdk.outputs.cache-hit != 'true' }}
2929
shell: pwsh
30+
env:
31+
GDK_VERSION: ${{ inputs.gdk-version }}
3032
run: |
31-
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity --version ${{ inputs.gdk-version }} Microsoft.Gaming.GDK
33+
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity --version "$env:GDK_VERSION" Microsoft.Gaming.GDK
3234
reg export "HKLM\SOFTWARE\WOW6432Node\Microsoft\GDK" "$env:RUNNER_TEMP\gdk.reg"
3335
3436
- name: Cache GDK

0 commit comments

Comments
 (0)