Skip to content

Commit

Permalink
chore: update cargo-dist to 0.14.0-prerelease.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Gankra committed May 3, 2024
1 parent ccee51f commit d2efa13
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 66 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish-crates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Publishes a release to crates.io
#
# To trigger this:
#
# - go to Actions > PublishRelease
# - click the Run Workflow dropdown in the top-right
# - enter the tag of the release as “Release Tag” (e.g. v0.3.18)
name: PublishCrates

on:
workflow_call:
inputs:
plan:
required: true
type: string

jobs:
# publish the current repo state to crates.io
cargo-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: recursive
- run: cargo publish -p axolotlsay --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
Loading

0 comments on commit d2efa13

Please sign in to comment.