Skip to content

Commit

Permalink
ci: fix nested steps
Browse files Browse the repository at this point in the history
  • Loading branch information
moldhouse committed Oct 23, 2024
1 parent 4ef306f commit 0408f6a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
steps:
- uses: googleapis/release-please-action@v4
- if: ${{ steps.release.outputs.release_created }}
steps:
- uses: actions/checkout@v4
- name: Publish to cargo
env:
CARGO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
run: cargo publish --token "${CARGO_TOKEN}"
uses: actions/checkout@v4
- if: ${{ steps.release.outputs.release_created }}
name: Publish to cargo
env:
CARGO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
run: cargo publish --token "${CARGO_TOKEN}"

0 comments on commit 0408f6a

Please sign in to comment.