Skip to content

Commit

Permalink
Update cargo publish build config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigellute committed Oct 20, 2019
1 parent ddb12f0 commit 0d1b603
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 0d1b603

Please sign in to comment.