Merge remote-tracking branch 'origin/dev' #32
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: 'tagged-release' | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
tagged-release: | |
name: 'Tagged Release' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Install PlatformIO | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U platformio | |
- name: Build WebUI | |
run: | | |
cd interface | |
yarn install | |
yarn typesafe-i18n --no-watch | |
sed -i "s/= 'pl'/= 'en'/" ./src/i18n/i18n-util.ts | |
yarn build | |
yarn webUI | |
- name: Build all PIO target environments from default_envs | |
run: | | |
platformio run | |
- name: Create GitHub Release | |
uses: emsesp/[email protected] | |
with: | |
repo_token: '${{ secrets.GITHUB_TOKEN }}' | |
prerelease: false | |
files: | | |
CHANGELOG.md | |
./build/firmware/*.* |