Skip to content

0.1.21

0.1.21 #21

Workflow file for this run

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 }}