Skip to content

Commit

Permalink
bugfix: properly escape json, this is according to gh docs:
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgumberg committed Nov 7, 2024
1 parent 2644b9d commit 7e09c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: |
mkdir contexts
echo '${{ toJSON(github) }}' | nix-shell -p jq --command "jq 'del(.token)' > contexts/github.json"
echo "$GITHUB_CONTEXT" | nix-shell -p jq --command "jq 'del(.token)' > contexts/github.json"
echo "$RUNNER_CONTEXT" > contexts/runner.json
- name: Upload context metadata as artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 7e09c3f

Please sign in to comment.