fork/cargo
git clone https://git.julia.blue/fork/cargo
5b48cf2aa
0.93.0
1# Publish Cargo to crates.io whenever a new tag is pushed. Tags are pushed by 2# the Rust release process (https://github.com/rust-lang/promote-release), 3# which will cause this workflow to run. 4 5name : Release 6on : 7push : 8tags : 9- "0.*" 10 11# Prevent multiple releases from starting at the same time. 12concurrency : 13group : release 14 15jobs : 16crates-io : 17name : Publish on crates.io 18runs-on : ubuntu-latest 19permissions : 20contents : read 21 22# Gain access to the crates.io publishing token. 23environment : 24name : release 25 26steps : 27- name : Checkout the source code 28uses : actions/checkout@v5 29 30- name : Publish Cargo to crates.io 31run : ./publish.py 32env : 33CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}