Skip to content

Commit

Permalink
Fix publishing workspace crates via CD
Browse files Browse the repository at this point in the history
Fixes #1363 by ensuring crates are published on a platform that fully
supports symbolic links.

Based on a suggestion in
5085c5b#commitcomment-91354413.
  • Loading branch information
musicinmybrain committed Jul 11, 2024
1 parent 2e43d2f commit 8e51c0f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,27 @@ jobs:
profile: minimal
components: clippy

- name: Publish to crates.io (ascii)
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
working-directory:
./ascii
run: cargo publish

- name: Publish to crates.io (image)
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
working-directory:
./image
run: cargo publish

- name: Publish to crates.io (manifest)
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
working-directory:
./manifest
run: cargo publish

- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
Expand Down

0 comments on commit 8e51c0f

Please sign in to comment.