Skip to content

Commit 1da40e6

Browse files
cdeckerclaude
andcommitted
ci: Fix YAML indentation for env section
The env block needs to be at the step level, not the steps array level. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent eb80f45 commit 1da40e6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -438,19 +438,19 @@ jobs:
438438
if: steps.parse.outputs.dry_run == 'false'
439439
run: |
440440
echo "🚀 Publishing ${{ steps.parse.outputs.crate }} v${{ steps.parse.outputs.version }} to crates.io..."
441-
441+
442442
# -p flag: Publish only this specific crate from the workspace
443443
# CARGO_REGISTRY_TOKEN: Authenticates with crates.io
444444
# This token should be added to GitHub Secrets as CRATES_IO_TOKEN
445445
cargo publish -p ${{ steps.parse.outputs.crate }}
446-
446+
447447
echo "✅ Successfully published to crates.io!"
448448
echo "🔗 https://crates.io/crates/${{ steps.parse.outputs.crate }}"
449-
env:
450-
# The token is stored in GitHub Secrets for security
451-
# To create one: https://crates.io/settings/tokens
452-
# Add it to repo: Settings → Secrets and variables → Actions
453-
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
449+
env:
450+
# The token is stored in GitHub Secrets for security
451+
# To create one: https://crates.io/settings/tokens
452+
# Add it to repo: Settings → Secrets and variables → Actions
453+
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
454454

455455
- name: Create GitHub Release
456456
if: steps.parse.outputs.dry_run == 'false'

0 commit comments

Comments
 (0)