Skip to content

update open_with_defaults #36

update open_with_defaults

update open_with_defaults #36

Workflow file for this run

name: Crates.io Distribution
on:
push:
paths:
- '**.rs'
- '**.toml'
- '**.lock'
- '**.yaml'
- 'Dockerfile'
- 'crates/mdbx-remote/mdbx-sys/libmdbx/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Pull sources'
uses: actions/checkout@v4
- name: 'Set up Rust'
uses: dtolnay/rust-toolchain@stable
- name: 'Cargo test'
if: "!startsWith(github.ref, 'refs/tags')"
timeout-minutes: 5
run: |
cargo test
- name: 'Cargo Publish'
if: startsWith(github.ref, 'refs/tags')
timeout-minutes: 5
env:
TOKEN: ${{ secrets.MDBX_CRATES_IO }}
run: |
cargo login $TOKEN && cargo test && cargo publish -p mdbx-remote-sys && cargo publish -p libmdbx-remote