Skip to content

Commit

Permalink
debug! to/fromJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Mar 3, 2025
1 parent b9b4395 commit cfcf029
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
using: composite
steps:
- name: Log setting up pre-commit cache
if: fromJSON(inputs.calling-job-context).toxenv == 'pre-commit'
if: toJSON(inputs.calling-job-context).toxenv == 'pre-commit'
run: >-
>&2 echo Caching ~/.cache/pre-commit based on
the contents of `.pre-commit-config.yaml`...
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ jobs:
'.github/stdlib-workflows/reusable-tox/actions/post-src-checkout/action.yml'
) != ''
with:
context: ${{ inputs }}
context: ${{ fromJSON(inputs) }}

- name: Set up pip cache
uses: re-actors/cache-python-deps@release/v1
Expand Down

0 comments on commit cfcf029

Please sign in to comment.