Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
FL03 committed Nov 29, 2022
1 parent 153cbdf commit 35e9671
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/rust-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Rust Publish

on:
push:
tags: [ "v*.*.*" ]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
publish:
name: Rust - Build and Test
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- nightly
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: |
cargo publish --all-features --jobs 1 -v -p scsys-actors --token ${CARGO_REGISTRY_TOKEN}
cargo publish --all-features --jobs 1 -v -p scsys-core --token ${CARGO_REGISTRY_TOKEN}
cargo publish --all-features --jobs 1 -v -p scsys-crypto --token ${CARGO_REGISTRY_TOKEN}
cargo publish --all-features --jobs 1 -v -p scsys-derive --token ${CARGO_REGISTRY_TOKEN}
cargo publish --all-features --jobs 1 -v -p scsys-gen --token ${CARGO_REGISTRY_TOKEN}
cargo publish --all-features --jobs 1 -v -p scsys-macros --token ${CARGO_REGISTRY_TOKEN}
cargo publish --all-features --jobs 1 -v -p scsys --token ${CARGO_REGISTRY_TOKEN}

0 comments on commit 35e9671

Please sign in to comment.