Skip to content

Commit 8b0a74e

Browse files
committed
fix: update variable assignment
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
1 parent 06b6e43 commit 8b0a74e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/actions/infra-repo-update/action.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,16 @@ runs:
2121
GH_TOKEN: ${{ inputs.token }}
2222
shell: bash
2323
run: |
24+
repo_org="$(.tmp/rsdk/src/bin/rsdk config infra.organizations.repository)"
25+
2426
if [[ -f pkg.conf.template ]]; then
27+
repo_suffix=""
28+
2529
grep_arg=()
2630
if [[ "${{ inputs.test-repo }}" != "true" ]]
2731
then
2832
grep_arg+=("-v")
2933
fi
30-
repo_suffix=""
3134
supported_distros=()
3235
mapfile -t supported_distros < <(jq -er '."*".Releases[]' pkg.conf.template | grep "${grep_arg[@]}" -- -test)
3336
else
@@ -38,7 +41,6 @@ runs:
3841
repo_suffix=""
3942
fi
4043
41-
repo_org="$(.tmp/rsdk/src/bin/rsdk config infra.organizations.repository)"
4244
supported_distros=()
4345
mapfile -t supported_distros < <(jq -er .[] <<< '${{ steps.query.outputs.suites }}')
4446
fi

0 commit comments

Comments
 (0)