Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

update req

update req #34

Workflow file for this run

name: ci
on:
workflow_dispatch:
push:
branches: [main]
concurrency:
group: environment-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Accurate0/rust-toolchain@main
with:
toolchain: stable
override: true
- name: cargo build
run: cargo build --release
publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Accurate0/rust-toolchain@main
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v1
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
check-repo: ${{ github.event_name == 'push' }}
ignore-unpublished-changes: true