Skip to content

Commit

Permalink
Fix the github publish action
Browse files Browse the repository at this point in the history
`cargo publish` needs a package name as a parameter. We first publish
`puzzlefs-lib`, which is a dependency for `puzzlefs`.

Signed-off-by: Ariel Miculas-Trif <[email protected]>
  • Loading branch information
ariel-miculas committed Sep 18, 2024
1 parent 4afc76a commit 443ee53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- run: make lint check
- name: publish
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push'
run: cargo publish --token ${CRATES_TOKEN}
run: |
cargo publish -p puzzlefs-lib --token ${CRATES_TOKEN}
cargo publish -p puzzlefs --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

0 comments on commit 443ee53

Please sign in to comment.