Release 0.9.2 (#1536) #54
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
name: publish | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: dtolnay/[email protected] | |
- name: Publish crate cairo-felt | |
env: | |
CRATES_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
run: cargo publish --token ${CRATES_TOKEN} --all-features --manifest-path ./felt/Cargo.toml | |
# FIXME: there should be a better way to make sure the index in crates.io is updated before publishing | |
# cairo-vm but right now the step throws timeout and fails. | |
- name: wait for index in crates.io | |
run: sleep 300 | |
- name: Publish crate cairo-vm | |
env: | |
CRATES_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
run: cargo publish --token ${CRATES_TOKEN} --all-features -p cairo-vm |