feat: update Gitea release workflow and increment version to 1.2.38
This commit is contained in:
parent
f1c2b2eb87
commit
1449cacc0e
25
.github/workflows/providers/gitea-release.yml
vendored
25
.github/workflows/providers/gitea-release.yml
vendored
@ -13,36 +13,27 @@ jobs:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Build Dependencies
|
||||
- name: Install System Dependencies
|
||||
run: |
|
||||
# Add PlatformIO repository
|
||||
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
|
||||
|
||||
sudo curl -fsSL -o /etc/apt/trusted.gpg.d/platformio.gpg https://github.com/platformio/platformio-core/releases/download/v6.1.11/platformio-keyring.gpg
|
||||
echo "deb https://github.com/platformio/platformio-core/releases/download/v6.1.11/ any/" | sudo tee /etc/apt/sources.list.d/platformio.list
|
||||
|
||||
# Install dependencies
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y platformio-core python3-pip build-essential
|
||||
sudo apt-get install -y python3 python3-pip build-essential curl git
|
||||
|
||||
# Install esptool
|
||||
sudo pip3 install esptool==4.5.1
|
||||
- name: Install Python Dependencies
|
||||
run: |
|
||||
sudo pip3 install -U platformio esptool
|
||||
|
||||
echo "Verifying installations:"
|
||||
pio --version
|
||||
platformio --version
|
||||
python3 --version
|
||||
esptool.py version
|
||||
|
||||
- name: Build Firmware
|
||||
run: |
|
||||
# Initialize project
|
||||
pio project init --board esp32dev
|
||||
|
||||
echo "Building SPIFFS..."
|
||||
pio run -t buildfs -v
|
||||
platformio run -t buildfs
|
||||
|
||||
echo "Building firmware..."
|
||||
pio run -v
|
||||
platformio run
|
||||
|
||||
- name: Create Release Files
|
||||
run: |
|
||||
|
@ -9,7 +9,7 @@
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[common]
|
||||
version = "1.2.37"
|
||||
version = "1.2.38"
|
||||
|
||||
[env:esp32dev]
|
||||
platform = espressif32
|
||||
|
Loading…
x
Reference in New Issue
Block a user