Skip to content

Commit

Permalink
Try revert build and deploy since the config is now in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mewim committed Aug 15, 2023
1 parent 6ab8cb1 commit 757a4b8
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,28 +219,20 @@ jobs:
runs-on: kuzu-self-hosted-testing
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
MSRV: 1.67
steps:
- uses: actions/checkout@v3

- name: Update Cargo.toml version
run: python3 update_version.py
working-directory: tools/rust_api

- name: Update rust version
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-update-default-toolchain
~/.cargo/bin/rustup install ${MSRV} --profile minimal
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
working-directory: tools/rust_api

- name: Deploy crate to Crates.io
run: rustup run ${MSRV} cargo publish --allow-dirty
run: cargo publish --allow-dirty
if: ${{ github.event.inputs.isDeploy == 'true' }}
working-directory: tools/rust_api

- name: Test publishing crate
run: rustup run ${MSRV} cargo publish --dry-run --allow-dirty
run: cargo publish --dry-run --allow-dirty
if: ${{ github.event.inputs.isDeploy != 'true' }}
working-directory: tools/rust_api

Expand Down

0 comments on commit 757a4b8

Please sign in to comment.