Skip to content

Commit

Permalink
Update and rename rust.yml to publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
elementh authored Mar 28, 2021
1 parent 9d8be70 commit db16e0c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/rust.yml → .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: Publish

on:
release:
Expand All @@ -8,10 +8,8 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:

build-and-publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -21,4 +19,3 @@ jobs:
- uses: katyo/publish-crates@v1
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
dry-run: true

0 comments on commit db16e0c

Please sign in to comment.