Skip to content
This repository has been archived by the owner on Dec 17, 2022. It is now read-only.

Commit

Permalink
fix: Remove cargo publish from publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Aug 9, 2020
1 parent 97beb12 commit 7697eab
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,3 @@ jobs:
git config user.email "[email protected]"
git commit -m "dprint-plugin-rustfmt ${{ steps.get_tag_version.outputs.TAG_VERSION }}"
git push origin master
# CARGO PUBLISH
- name: Checkout
uses: actions/checkout@v2

- name: Cache cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Cargo login
run: cargo login ${{ secrets.CRATES_TOKEN }}

- name: Cargo publish
run: cargo publish

0 comments on commit 7697eab

Please sign in to comment.