Skip to content

Commit

Permalink
Add Publish Crate Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
0xIchigo committed May 7, 2024
1 parent bc503ac commit ff8136b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish_crate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish Helius SDK Crate

on:
workflow_dispatch:

jobs:
manual-job:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Setup Rust environment
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
profile: minimal

- name: Publish to crates.io
uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CRATES_IO_TOKEN }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}

0 comments on commit ff8136b

Please sign in to comment.