feat: update Gitea release workflow and increment version to 1.2.38
This commit is contained in:
parent
f1c2b2eb87
commit
1449cacc0e
27
.github/workflows/providers/gitea-release.yml
vendored
27
.github/workflows/providers/gitea-release.yml
vendored
@ -13,36 +13,27 @@ jobs:
|
|||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Build Dependencies
|
- name: Install System Dependencies
|
||||||
run: |
|
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 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
|
- name: Install Python Dependencies
|
||||||
sudo pip3 install esptool==4.5.1
|
run: |
|
||||||
|
sudo pip3 install -U platformio esptool
|
||||||
|
|
||||||
echo "Verifying installations:"
|
echo "Verifying installations:"
|
||||||
pio --version
|
platformio --version
|
||||||
python3 --version
|
python3 --version
|
||||||
esptool.py version
|
esptool.py version
|
||||||
|
|
||||||
- name: Build Firmware
|
- name: Build Firmware
|
||||||
run: |
|
run: |
|
||||||
# Initialize project
|
|
||||||
pio project init --board esp32dev
|
|
||||||
|
|
||||||
echo "Building SPIFFS..."
|
echo "Building SPIFFS..."
|
||||||
pio run -t buildfs -v
|
platformio run -t buildfs
|
||||||
|
|
||||||
echo "Building firmware..."
|
echo "Building firmware..."
|
||||||
pio run -v
|
platformio run
|
||||||
|
|
||||||
- name: Create Release Files
|
- name: Create Release Files
|
||||||
run: |
|
run: |
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
version = "1.2.37"
|
version = "1.2.38"
|
||||||
|
|
||||||
[env:esp32dev]
|
[env:esp32dev]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user