Skip to content

build: publish

build: publish #8

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 '.#release' --command cargo release --version
# publish
- run: nix develop '.#release' --command cargo release publish --package connector_arrow
--execute --no-confirm --verbose
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}