Skip to content

Commit 3987b1d

Browse files
feat: build for release
1 parent 55bddef commit 3987b1d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ inputs:
3939
description: "Maximum number of issues allowed for the analysis to succeed"
4040
registry-address:
4141
required: false
42-
default: "gh"
42+
default: ""
4343
description: "Alternative registry address (e.g. artprod.mycompany/)"
4444
tool:
4545
required: false
@@ -241,6 +241,9 @@ runs:
241241
- name: "Run Codacy CLI"
242242
shell: bash
243243
run: |
244+
if [ -n "${{ inputs.registry-address }}" ]; then
245+
echo "REGISTRY_ADDRESS=${{ inputs.registry-address }}" >> $GITHUB_ENV
246+
fi
244247
if [ "${{ inputs.run-docker-tools }}" == "true" ]; then
245248
${{ env.CLI_SCRIPT_PATH }} \
246249
analyze \

0 commit comments

Comments
 (0)