Skip to content

Commit

Permalink
updated publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
irakliyk committed Aug 24, 2021
1 parent 0551df2 commit 4eb9090
Showing 1 changed file with 18 additions and 27 deletions.
45 changes: 18 additions & 27 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,57 +19,48 @@ jobs:
- uses: actions/checkout@master
- name: Login to crates.io
run: cargo login ${{ secrets.crates_io_token }} # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets
# winter-utils
- name: Dry run publish winter-utils
run: cargo publish --dry-run --manifest-path utils/core/Cargo.toml
- name: Publish winter-utils
run: cargo publish --manifest-path utils/core/Cargo.toml
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}
run: cargo publish --token ${{ secrets.crates_io_token }} --manifest-path utils/core/Cargo.toml
# winter-rand-utils
- name: Dry run publish winter-rand-utils
run: cargo publish --dry-run --manifest-path utils/rand/Cargo.toml
- name: Publish winter-rand-utils
run: cargo publish --manifest-path utils/rand/Cargo.toml
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}
run: cargo publish --token ${{ secrets.crates_io_token }} --manifest-path utils/rand/Cargo.toml
# winter-math
- name: Dry run publish winter-math
run: cargo publish --dry-run --manifest-path math/Cargo.toml
- name: Publish winter-math
run: cargo publish --manifest-path math/Cargo.toml
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}
run: cargo publish --token ${{ secrets.crates_io_token }} --manifest-path math/Cargo.toml
# winter-crypto
- name: Dry run publish winter-crypto
run: cargo publish --dry-run --manifest-path crypto/Cargo.toml
- name: Publish winter-crypto
run: cargo publish --manifest-path crypto/Cargo.toml
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}
run: cargo publish --token ${{ secrets.crates_io_token }} --manifest-path crypto/Cargo.toml
# winter-fri
- name: Dry run publish winter-fri
run: cargo publish --dry-run --manifest-path fri/Cargo.toml
- name: Publish winter-fri
run: cargo publish --manifest-path fri/Cargo.toml
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}
run: cargo publish --token ${{ secrets.crates_io_token }} --manifest-path fri/Cargo.toml
# winter-air
- name: Dry run publish winter-air
run: cargo publish --dry-run --manifest-path air/Cargo.toml
- name: Publish winter-air
run: cargo publish --manifest-path air/Cargo.toml
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}
run: cargo publish --token ${{ secrets.crates_io_token }} --manifest-path air/Cargo.toml
# winter-prover
- name: Dry run publish winter-prover
run: cargo publish --dry-run --manifest-path prover/Cargo.toml
- name: Publish winter-prover
run: cargo publish --manifest-path prover/Cargo.toml
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}
run: cargo publish --token ${{ secrets.crates_io_token }} --manifest-path prover/Cargo.toml
# winter-verifier
- name: Dry run publish winter-verifier
run: cargo publish --dry-run --manifest-path verifier/Cargo.toml
- name: Publish winter-verifier
run: cargo publish --manifest-path verifier/Cargo.toml
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}
run: cargo publish --token ${{ secrets.crates_io_token }} --manifest-path verifier/Cargo.toml
# winterfell
- name: Dry run publish winterfell
run: cargo publish --dry-run --manifest-path winterfell/Cargo.toml
- name: Publish winterfell
run: cargo publish --manifest-path winterfell/Cargo.toml
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}
run: cargo publish --token ${{ secrets.crates_io_token }} --manifest-path winterfell/Cargo.toml

0 comments on commit 4eb9090

Please sign in to comment.