-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* publish workflow * fix bad indentation in line 18 * fix bad indentation in line 26 * add test registry and pull request run * add crate name to the semver check * add prefix version * fix comment with extra / * use fork of semver check * add ref to action * add crate name * add crate name * update action version * remove check semver from this PR * add token for crate io * wrong name of env var * remove release test tag * add features to publish * bump version of felt and vm * add manifest path * debug * fix triggers and licenses * remove comment * add comment about sleep * restore changes to the path of felt dependency and remove whitespace * Update Cargo.toml * add newline * add newline * add newline
- Loading branch information
Showing
5 changed files
with
48 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
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: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- 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 120 | ||
- name: Publish crate cairo-vm | ||
env: | ||
CRATES_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
run: cargo publish --token ${CRATES_TOKEN} --all-features -p cairo-vm | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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