Skip to content

feat: macros (#22)

feat: macros (#22) #23

name: Publish (Dry Run)
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
TOOLCHAIN_VERSION: nightly-2024-12-09
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ env.TOOLCHAIN_VERSION }}
override: true
- name: Build
run: cargo build --release
- run: cargo publish --token ${CRATES_TOKEN} --dry-run --allow-dirty
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}