Skip to content

Publish

Publish #10

Workflow file for this run

---
name: Publish
on:
push:
tags: [v*]
jobs:
publish-crates-io:
runs-on: ubuntu-latest
steps:
# checkout and env setup
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build the nix shell
run: nix develop '.#minimal' --command cargo --version
# publish
- run: nix develop '.#minimal' --command cargo publish --package connector_arrow
--verbose
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}