build: release #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Publish | |
on: | |
push: | |
tags: [v*] | |
jobs: | |
publish-crates-io: | |
runs-on: ubuntu-latest | |
steps: | |
# checkout and env setup | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Build the nix shell | |
run: nix develop --command cargo --version | |
# publish | |
- run: nix develop --command cargo publish --package connector_arrow --verbose | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} |