Skip to content

Update deployment.yml #10

Update deployment.yml

Update deployment.yml #10

Workflow file for this run

name: Deployment
on:
push:
tags: [ "v*" ]
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_TOKEN }}
jobs:
Deploy:
name: Deploy-Crate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: bump-cargo-version
env:
RELEASE_TAG: ${{ github.ref }}
run: sed -i "s/0.0.0/$VERSION/g" Cargo.toml
- name: dry-run
run: cargo publish --dry-run --allow-dirty
- name: publish
run: cargo publish