Skip to content

ci: Checkout repo in crate releasing worklow #3

ci: Checkout repo in crate releasing worklow

ci: Checkout repo in crate releasing worklow #3

Workflow file for this run

name: Deploy Crates
on:
push:
# TODO: remove branches
branches: ["*"]
tags:
- "*"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Nushell
uses: hustcer/[email protected]
with:
version: 0.93.0
- name: Bump versions
shell: nu {0}
run: |
do { cd crates; nu bump-versions.nu }
- name: Publish crates
shell: nu {0}
run: |
ls crates | where type == dir
| get name
| filter {|n| $"($n)/Cargo.toml" | path exists }
| each {|p| split row "/" | last}
| each {|p| cargo publish -p $p }