Skip to content

Commit

Permalink
feat: build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 11, 2024
1 parent 3ff8e64 commit 55bddef
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ inputs:
required: false
default: "2147483647"
description: "Maximum number of issues allowed for the analysis to succeed"
registry-address:
required: false
default: "gh"
description: "Alternative registry address (e.g. artprod.mycompany/)"
tool:
required: false
description: >-
Expand Down Expand Up @@ -224,7 +228,7 @@ runs:
- name: "Set Codacy CLI version"
shell: bash
run: echo "CODACY_ANALYSIS_CLI_VERSION=7.9.7" >> $GITHUB_ENV
run: echo "CODACY_ANALYSIS_CLI_VERSION=7.9.10" >> $GITHUB_ENV
- name: "Set script path environment variable"
shell: bash
run: echo "CLI_SCRIPT_PATH=${{ github.action_path }}/codacy-analysis-cli.sh" >> $GITHUB_ENV
Expand Down Expand Up @@ -260,7 +264,8 @@ runs:
$(if [ "${{ inputs.fail-if-incomplete }}" == "true" ]; then echo "--fail-if-incomplete"; fi) \
$(if [ "${{ inputs.allow-network }}" == "true" ]; then echo "--allow-network"; fi) \
$(if [ "${{ inputs.force-file-permissions }}" == "true" ]; then echo "--force-file-permissions"; fi) \
$(if [ "${{ inputs.gh-code-scanning-compat }}" == "true" ]; then echo "--gh-code-scanning-compat"; fi)
$(if [ "${{ inputs.gh-code-scanning-compat }}" == "true" ]; then echo "--gh-code-scanning-compat"; fi) \
$(if [ -n "${{ inputs.registry-address }}" ]; then echo "--registry-address ${{ inputs.registry-address }}"; fi)
else
echo "Skipping docker tools"
fi
Expand Down

0 comments on commit 55bddef

Please sign in to comment.