Skip to content

Merge pull request #465 from YuukiToriyama/feature/use-jisx0401/master #48

Merge pull request #465 from YuukiToriyama/feature/use-jisx0401/master

Merge pull request #465 from YuukiToriyama/feature/use-jisx0401/master #48

name: Upload artifact to crates.io
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
environment: crates-io
defaults:
run:
working-directory: core
steps:
- uses: actions/checkout@v4
- name: Build check
run: cargo build --verbose
- name: Unit Testing
run: |
cargo test
cargo test --features blocking
- name: Try packaging
run: cargo publish --dry-run
- name: Show files will be included
run: cargo package --list
- name: Upload artifact to crates.io
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}