Skip to content

Publish

Publish #27

Workflow file for this run

name: Publish
on: workflow_dispatch
env:
rust_toolchain: nightly
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
publish:
name: Publish
environment:
name: publish
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Install Rust for Xtensa
uses: esp-rs/xtensa-toolchain@v1.5
with:
default: true
ldproxy: false
- name: Login
run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Build | Publish
run: export ESP_IDF_TOOLS_INSTALL_DIR=out; cargo publish