Skip to content

Commit

Permalink
added publish (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
nimar committed Jun 25, 2022
1 parent 662b5d7 commit 5cc2d94
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
push:
# Pattern matched against refs/tags
tags:
- '*' # Push events to every tag not containing /
workflow_dispatch:

name: Publish

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

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

- run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

0 comments on commit 5cc2d94

Please sign in to comment.