Skip to content

Commit 4f7873a

Browse files
authored
make IntelliFactory.snk conditional
1 parent 1e0acb8 commit 4f7873a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build-stack.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,14 @@ on:
1111
description: 'Select .NET SDK version'
1212
required: false
1313
default: '9.0.x'
14+
useIntelliFactorySNK:
15+
description: 'Use IntelliFactory.snk'
16+
type: boolean
17+
required: false
18+
default: 'false'
1419
skipCoreTesting:
1520
description: 'Skip Core testing'
21+
type: boolean
1622
required: false
1723
default: 'false'
1824
branch:
@@ -110,9 +116,10 @@ jobs:
110116
git config --global user.name "IntelliFactory CI"
111117
112118
- name: Create IntelliFactory.snk
119+
if: ${{ github.event.inputs.useIntelliFactorySNK == 'true' }}
113120
shell: pwsh
114121
run: |
115-
$bytes = [Convert]::FromBase64String(${{ secrets.INTELLIFACTORY_KEY_BASE64 }})
122+
$bytes = [Convert]::FromBase64String("${{ secrets.INTELLIFACTORY_KEY_BASE64 }}")
116123
$snkPath = $snkPath = Join-Path -Path $PWD -ChildPath "keys/IntelliFactory.snk"
117124
118125
# Ensure the directory exists

0 commit comments

Comments
 (0)