Skip to content

v0.0.4

v0.0.4 #4

Workflow file for this run

name: crates
concurrency:
cancel-in-progress: false
group: ${{ github.workflow }}-${{ github.ref }}
env:
BASENAME: ${{ github.event.repository.name }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
CARGO_TERM_COLOR: always
on:
release:
types: [ published ]
repository_dispatch:
types: [ crates-io ]
workflow_dispatch:
jobs:
base:
env:
CRATE_NAME: ${{ github.event.repository.name }}-${{ matrix.suffix }}
name: Publish Base Modules
runs-on: ubuntu-latest
strategy:
matrix:
suffix: [ core ]
steps:
- uses: actions/checkout@v4
- run: cargo publish --all-features -v -p ${{ env.CRATE_NAME }}
publish:
name: Publish SDK
needs: base
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo publish --all-features -v -p ${{ github.event.repository.name }} --token ${{ secrets.CARGO_REGISTRY_TOKEN }}