Skip to content

Commit

Permalink
Reenable publishing to Cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed May 5, 2020
1 parent 20c05d4 commit 0102732
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,21 +114,21 @@ jobs:
toolchain: stable
override: true

# cargo_publish:
# if: startsWith(github.ref, 'refs/tags/v')
# name: Publish Cargo Package
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: stable
# override: true
# - run: cargo login $CRATES_IO_TOKEN
# - run: cargo publish
# env:
# CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
cargo_publish:
if: startsWith(github.ref, 'refs/tags/v')
name: Publish Cargo Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo login $CRATES_IO_TOKEN
- run: cargo publish
env:
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}

github_build:
if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit 0102732

Please sign in to comment.