Skip to content

Commit bfd600f

Browse files
authored
Upgrade to 0.4.4 (#90)
1 parent cf26e2f commit bfd600f

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.github/workflows/test-workflow-latest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
uses: microsoft/template-validation-action@Latest
4141
with:
4242
workingDirectory: ${{ runner.temp }}/template
43+
validationEnvs: |
44+
AAA=BBB,CCC=DDD
4345
env:
4446
REPOSITORY_NAME: Azure-Samples/azd-ai-starter
4547

action.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ inputs:
3131
default: 'Playwright'
3232
options:
3333
- 'Playwright'
34+
validationEnvs:
35+
description: 'Additional environment variables for validation, in KEY=VALUE format, separated by commas'
36+
required: false
37+
default: ''
3438
outputs:
3539
resultFile:
3640
description: "A file path to a results file."
@@ -259,6 +263,16 @@ runs:
259263
shell: bash
260264
continue-on-error: true
261265

266+
- name: Set additional validation environment variables
267+
id: set_additional_envs
268+
if: ${{ inputs.validateAzd == 'true' && inputs.validationEnvs != '' }}
269+
run: |
270+
IFS=',' read -ra ADDR <<< "${{ inputs.validationEnvs }}"
271+
for env_pair in "${ADDR[@]}"; do
272+
echo "$env_pair" >> $GITHUB_ENV
273+
done
274+
shell: bash
275+
262276
- name: Check and Set targetScope in main.bicep
263277
id: check_targetScope
264278
if: ${{ inputs.validateAzd == 'true' }}

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.4.3
1+
v0.4.4

0 commit comments

Comments
 (0)