Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
Noahnc committed Oct 24, 2023
1 parent 7e8b0d6 commit 51c3e49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ runs:
- name: Run InfraPatch Action
shell: bash
run: |
file="./infrapatch/action/__main__.py"
module="infrapatch.action"
arguments=()
if [ "${{ runner.debug }}" == "1" ]; then
arguments+=("--debug")
Expand All @@ -67,8 +67,8 @@ runs:
arguments+=("--registry-secrets" "${{ inputs.registry_secrets }}")
arguments+=("--working-directory" "${{ inputs.working_directory }}")
arguments+=("--default-registry-domain" "${{ inputs.default_registry_domain }}")
echo "Running command: python $file ${arguments[@]}"
python "$file" "${arguments[@]}"
echo "Running command: python $module ${arguments[@]}"
python -m "$module" "${arguments[@]}"
- name: Push changes
if: ${{ inputs.push_changes == 'true' }}
Expand Down

0 comments on commit 51c3e49

Please sign in to comment.