Skip to content

Commit

Permalink
Create publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
anvlkv authored Jun 22, 2024
1 parent 532bbf7 commit e2d860e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

name: Rust

on:
push:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --release
- name: publish crates
# You may pin to the exact commit or the version.
# uses: katyo/publish-crates@c9f6fdb4620c98d491ffaa6e563cb87388bd6ece
uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit e2d860e

Please sign in to comment.