diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index cdc5fce..4526499 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -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')