Skip to content

Commit

Permalink
Merge pull request #1753 from proddy/dev
Browse files Browse the repository at this point in the history
add corepack to tagged release
  • Loading branch information
proddy committed May 8, 2024
2 parents 11e8875 + c481bc7 commit 24af84f
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/tagged_release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: 'tagged-release'

on:
workflow_dispatch:
push:
tags:
- 'v*'
Expand All @@ -9,23 +10,23 @@ jobs:
tagged-release:
name: 'Tagged Release'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/setup-node@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: '20'

node-version: '20.x'
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install -U platformio
platformio upgrade
pio pkg update
- name: Build WebUI
run: |
cd interface
Expand All @@ -34,15 +35,12 @@ jobs:
sed -i "s/= 'pl'/= 'en'/" ./src/i18n/i18n-util.ts
yarn build
yarn webUI
- name: Build firmware
- name: Build 4M firmware
run: |
platformio run -e ci
- name: Build S3 firmware
run: |
platformio run -e ci_s3
- name: Release
uses: 'marvinpinto/action-automatic-releases@latest'
with:
Expand Down

0 comments on commit 24af84f

Please sign in to comment.