Skip to content

Commit

Permalink
build: CI publish
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazerzen committed Feb 5, 2024
1 parent c12cea4 commit af55c50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
tags: [v*]
jobs:
test-job:
publish-crates-io:
runs-on: ubuntu-latest
steps:
# checkout and env setup
Expand All @@ -13,9 +13,7 @@ jobs:
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build the nix shell
run: nix develop --command just --version
- name: Install Rust toolchain with rustup
run: nix develop --command cargo --version
run: nix develop '.#release' --command cargo release --version

# publish
- run: cargo release publish --package connector_arrow --execute --no-confirm
Expand Down
4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
cargo-nextest
cargo-insta
cargo-audit
cargo-release
pkg-config
docker-compose
(dontCheckPython python311Packages.yamlfix)
Expand All @@ -41,5 +40,8 @@
devShells.default = pkgs.mkShell {
buildInputs = essentials ++ dbs;
};
devShells.release = pkgs.mkShell {
buildInputs = with pkgs; [rustup cargo-release];
};
});
}

0 comments on commit af55c50

Please sign in to comment.