Skip to content

Commit

Permalink
add publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejka committed Jul 31, 2024
1 parent c7206d0 commit df12937
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish to Cargo

on:
push:
branches: [ master ]

jobs:
publish:
runs-on: ubuntu-latest

name: 'publish'

# Reference your environment variables
environment: cargo

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
dry-run: true

0 comments on commit df12937

Please sign in to comment.