diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa29660e..879fb182 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,12 +23,6 @@ jobs: - build: linux os: ubuntu-latest target: aarch64-unknown-linux-musl - - build: macos - os: macos-latest - target: x86_64-apple-darwin - - build: macos - os: macos-latest - target: aarch64-apple-darwin steps: - name: Checkout @@ -43,6 +37,12 @@ jobs: with: targets: ${{ matrix.target }} + - name: Install dependencies + shell: bash + run: | + sudo apt-get update + sudo apt-get install pkg-config libssl-dev libclang-dev protobuf-compiler + - name: Build uses: actions-rs/cargo@v1 with: @@ -84,17 +84,21 @@ jobs: files: | ${{ env.ASSET }} - publish-crates: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 + # publish-crates: + # runs-on: ubuntu-latest + # steps: + # - name: Checkout + # uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true + # - name: Install Rust + # uses: dtolnay/rust-toolchain@stable - - uses: katyo/publish-crates@v2 - with: - registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} + # - name: Install dependencies + # shell: bash + # run: | + # sudo apt-get update + # sudo apt-get install -y openssl libclang-dev pkg-config protobuf-compiler libssl-dev + + # - uses: katyo/publish-crates@v2 + # with: + # registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}