Skip to content

Commit

Permalink
fix jq command
Browse files Browse the repository at this point in the history
  • Loading branch information
makspll committed Dec 2, 2024
1 parent d85f078 commit 8ea7454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- name: Mask secrets
run: |
$CARGO_REGISTRY_TOKEN=$(jq -r '.inputs.cargo-registry-token' $GITHUB_EVENT_PATH)
$CARGO_REGISTRY_TOKEN=$(jq -r '.inputs["cargo-registry-token"]' $GITHUB_EVENT_PATH)
echo ::add-mask::$CARGO_REGISTRY_TOKEN
echo $CARGO_REGISTRY_TOKEN=$CARGO_REGISTRY_TOKEN >> $GITHUB_ENV
- name: Test secret mask
Expand Down

0 comments on commit 8ea7454

Please sign in to comment.