Skip to content

Commit

Permalink
ci: add cargo publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
mootz12 committed Oct 19, 2023
1 parent 3583e21 commit 18397ed
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/cargo_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Cargo Publish

on:
release:
types: [published]

jobs:

publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup update
- run: cargo publish -p sep-40-oracle
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 18397ed

Please sign in to comment.