Skip to content

Commit

Permalink
ci(workflow): Add publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
devanlooches authored Nov 5, 2022
1 parent bdb71b8 commit 9b85f05
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish

on:
push:
tags:
- "*"

jobs:
test:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true

- name: Publish
run: cargo publish --token ${{ secrets.CARGO_TOKEN }}

0 comments on commit 9b85f05

Please sign in to comment.