diff options
author | Matan Kushner <hello@matchai.me> | 2019-10-04 23:22:14 +0900 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-10-04 23:22:14 +0900 |
commit | fcaf2592e6c5fdd78c84dea8a59d2c14e12497e2 (patch) | |
tree | be33cac20885ed81418d9001b74bcefa9b3fb85f | |
parent | b8313da2cc53e340814e0cc7288ebfc24c96907a (diff) |
ci: Replace cargo-publish-all with cargo
-rw-r--r-- | .github/workflows/workflow.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 1c2f69907..12da852b9 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -138,7 +138,7 @@ jobs: # Publish all packages to Crates.io cargo_publish: if: startsWith(github.ref, 'refs/tags/v') - name: Publish Cargo Packages + name: Publish Cargo Package needs: [test, docker_test] runs-on: ubuntu-latest steps: @@ -147,8 +147,8 @@ jobs: with: toolchain: stable override: true - - run: cargo install --force cargo-publish-all - - run: cargo-publish-all --token $CRATES_IO_TOKEN --yes + - run: cargo login $CRATES_IO_TOKEN + - run: cargo publish env: CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} |