Skip to content

Prepare Release

Prepare Release #16

name: Prepare Release
on:
workflow_dispatch:
inputs:
next_release:
description: "Next Xtensa Rust release version"
required: true
default: "v1.83.0.1"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
prepare-release:
runs-on: ubuntu-latest
steps:
- name: Create Release
uses: actions/create-release@v1
with:
tag_name: ${{ github.event.inputs.next_release }}
release_name: Release ${{ github.event.inputs.next_release }}
prerelease: true
body: |
Rust Xtensa Toolchain ${{ github.event.inputs.next_release }} for ESP32, ESP32-S2, ESP32-S3.
Installation: https://docs.esp-rs.org/book/installation/riscv-and-xtensa.html
```
espup install --toolchain-version ${{ steps.findandreplace.outputs.value }}
source ~/export-esp.sh
```
Note: For the ESP32-C2, ESP32-C3, ESP32-C6, or ESP32-H2, you can use the Rust `nightly`, `stable`, or `esp` channels.