-
Notifications
You must be signed in to change notification settings - Fork 33
33 lines (28 loc) · 1.02 KB
/
prepare-release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Prepare Release
on:
workflow_dispatch:
inputs:
next_release:
description: "Next Xtensa Rust release version"
required: true
default: "v1.84.0.0"
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.