0.3.0 #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- "*" | |
workflow_dispatch: | |
name: Publish | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: cargo publish typed_floats_macros | |
run: cd typed_floats_macros && cargo publish --token ${CRATES_TOKEN} | |
env: | |
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} | |
- name: cargo publish typed_floats | |
run: | | |
rustup toolchain install nightly | |
cargo +nightly -Zscript ./pre-publish.rs | |
cd typed_floats | |
cargo publish --allow-dirty --token ${CRATES_TOKEN} | |
env: | |
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} | |