Skip to content

Commit

Permalink
Reenable crates
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Mar 7, 2024
1 parent 4a27f51 commit c90d3a5
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,25 +205,25 @@ jobs:
skip-existing: true
verbose: true

# publish-to-crates-io:
# needs: [create-sdist, build-wheels]
# environment:
# name: release
# url: https://crates.io/crates/polars-cli
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v4
# with:
# ref: ${{ inputs.sha }}

# - name: Publish to crates.io
# env:
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
# run: cargo publish ${{ inputs.dry-run && '--dry-run' || '' }}
publish-to-crates-io:
needs: [create-sdist, build-wheels]
environment:
name: release
url: https://crates.io/crates/polars-cli
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.sha }}

- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish ${{ inputs.dry-run && '--dry-run' || '' }}

publish-to-github:
needs: [publish-to-pypi, get-version]
needs: [publish-to-pypi, publish-to-crates-io, get-version]
environment:
name: release
url: https://github.com/pola-rs/polars-cli/releases
Expand Down

0 comments on commit c90d3a5

Please sign in to comment.