From 0d1b603ed3dde4afefb19e7ce2c705c956b958b4 Mon Sep 17 00:00:00 2001 From: Rigellute Date: Sun, 20 Oct 2019 19:10:19 +0100 Subject: [PATCH] Update cargo publish build config --- .github/workflows/cd.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d3c2b685..bf39a53f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -60,9 +60,13 @@ jobs: target/${{ matrix.target }}/release/spotify-tui-${{ matrix.artifact_prefix }}.sha256 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Publishing to Cargo - uses: actions-rs/cargo@v1 + + publish-cargo: + name: Publishing to Cargo + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: actions-rs/cargo@v1 with: command: publish - toolchain: ${{ matrix.rust }} args: --token ${{ secrets.CARGO_API_KEY }}