Publish #27
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
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 |