Skip to content

Commit

Permalink
Restore release-crate section for release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
lexara-prime-ai committed Aug 16, 2024
1 parent d4d724c commit d69db52
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,37 +19,37 @@ jobs:
exit 1
fi
working-directory: ./core
# To do
# release-crate:
# needs: validate-release-tag
# name: Release crate
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v4

# - uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: stable
# override: true
release-crate:
needs: validate-release-tag
name: Release crate
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4

- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

# - name: install protoc
# uses: arduino/setup-protoc@v2
# with:
# version: 23.x
- name: install protoc
uses: arduino/setup-protoc@v2
with:
version: 23.x

# - name: cargo publish core
# uses: actions-rs/cargo@v1
# env:
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
# with:
# command: publish
# args: --token "${CARGO_REGISTRY_TOKEN}" --package spark-connect-core --manifest-path ./Cargo.toml
- name: cargo publish core
uses: actions-rs/cargo@v1
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
with:
command: publish
args: --token "${CARGO_REGISTRY_TOKEN}" --package spark-connect-core --manifest-path ./Cargo.toml

# - name: cargo publish rust
# uses: actions-rs/cargo@v1
# env:
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
# with:
# command: publish
# args: --token "${CARGO_REGISTRY_TOKEN}" --package spark-connect-rs --manifest-path ./Cargo.toml
- name: cargo publish rust
uses: actions-rs/cargo@v1
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
with:
command: publish
args: --token "${CARGO_REGISTRY_TOKEN}" --package spark-connect-rs --manifest-path ./Cargo.toml

0 comments on commit d69db52

Please sign in to comment.