Skip to content

Merge branch 'main' of https://github.com/NexRX/restructed #6

Merge branch 'main' of https://github.com/NexRX/restructed

Merge branch 'main' of https://github.com/NexRX/restructed #6

Workflow file for this run

name: Publish
on:
push:
tags:
- '*' # Push events to every tag not containing /
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run tests
run: cargo test --verbose
- run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}