Skip to content

Commit

Permalink
Merge pull request #39 from aquaproj/fix-stop-using-fromjson
Browse files Browse the repository at this point in the history
fix: stop using fromJSON
  • Loading branch information
suzuki-shunsuke authored Sep 18, 2023
2 parents 54b8891 + 3b185e9 commit 0fef5fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ runs:
- shell: bash
working-directory: ${{inputs.working_directory}}
run: aqua update-checksum -deep
if: "! fromJSON(inputs.prune)"
if: inputs.prune != 'true'
- shell: bash
working-directory: ${{inputs.working_directory}}
run: aqua update-checksum -deep -prune
if: fromJSON(inputs.prune)
if: inputs.prune == 'true'

- shell: bash
id: find
Expand All @@ -39,7 +39,7 @@ runs:
run: git add ${{steps.find.outputs.checksum_file}}

- shell: bash
if: fromJSON(inputs.skip_push)
if: inputs.skip_push == 'true'
run: |
set -eu
if [ -n "$WORKING_DIR" ]; then
Expand All @@ -54,7 +54,7 @@ runs:
WORKING_DIR: ${{inputs.working_directory}}

- shell: bash
if: "! fromJSON(inputs.skip_push)"
if: inputs.skip_push != 'true'
run: |
set -eu
if [ -n "$WORKING_DIR" ]; then
Expand Down

0 comments on commit 0fef5fa

Please sign in to comment.