Release Wasmtime 14.0.0 (#7308) #59
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The purpose of this workflow is to publish the wasmtime workspace of crates | |
# whenever a wasmtime tag is created. This baiscally boils down to running | |
# `scripts/publish.rs` at the right time. | |
name: "Publish to crates.io" | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
publish: | |
if: github.repository == 'bytecodealliance/wasmtime' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- run: rustup update stable && rustup default stable | |
- run: | | |
rustc scripts/publish.rs | |
./publish publish | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |