mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-30 20:05:55 +00:00
chore: Merge branch 'main' of github.com:hendrikmaus/Fornjot into release-operator-crates-io-publishing-use-cratesio-api
* 'main' of github.com:hendrikmaus/Fornjot: chore: bump version chore: cargo fmt ci: determine if the current crate is ahead or behind the registry Update list of crates to release ci: include crates.io publishing in the deployment workflow
This commit is contained in:
commit
002f73624c
19
.github/workflows/cd.yml
vendored
19
.github/workflows/cd.yml
vendored
@ -120,10 +120,27 @@ jobs:
|
|||||||
| awk '{print $1}' > "${file}.sha256"
|
| awk '{print $1}' > "${file}.sha256"
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Create GitHub Release
|
- name: Release | GitHub
|
||||||
if: ${{ steps.release.outputs.release-detected == 'true' }}
|
if: ${{ steps.release.outputs.release-detected == 'true' }}
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.release.outputs.tag-name }}
|
tag_name: ${{ steps.release.outputs.tag-name }}
|
||||||
name: ${{ steps.release.outputs.tag-name }}
|
name: ${{ steps.release.outputs.tag-name }}
|
||||||
files: ${{ env.PROJ_NAME }}-*/${{ env.PROJ_NAME }}-*
|
files: ${{ env.PROJ_NAME }}-*/${{ env.PROJ_NAME }}-*
|
||||||
|
|
||||||
|
- name: Release | Crates.io
|
||||||
|
if: ${{ steps.release.outputs.release-detected == 'true' }}
|
||||||
|
working-directory: ./release-operator
|
||||||
|
env:
|
||||||
|
RUST_LOG: info
|
||||||
|
run: |
|
||||||
|
# Publish to crates.io
|
||||||
|
cargo run -- publish \
|
||||||
|
--token ${{ secrets.CARGO_REGISTRY_TOKEN }} \
|
||||||
|
--crate ../fj-app \
|
||||||
|
--crate ../fj-host \
|
||||||
|
--crate ../fj-interop \
|
||||||
|
--crate ../fj-kernel \
|
||||||
|
--crate ../fj-math \
|
||||||
|
--crate ../fj-operations \
|
||||||
|
--crate ../fj
|
||||||
|
Loading…
Reference in New Issue
Block a user