Skip to content

Commit e5fddcb

Browse files
committed
Python versions fix
1 parent b25e1b8 commit e5fddcb

File tree

7 files changed

+2
-17
lines changed

7 files changed

+2
-17
lines changed

.github/actions/build-firmware/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: build-firmware
22
description: Builds the firmware partitions and uploads them as an artifact
33
inputs:
4-
python-version:
5-
required: true
6-
description: 'Python version to use'
74
board:
85
required: true
96
description: 'Board name to build'
@@ -31,7 +28,6 @@ runs:
3128

3229
- uses: actions/setup-python@v5
3330
with:
34-
python-version: ${{ inputs.python-version }}
3531
cache: 'pip'
3632

3733
- name: Install python dependencies

.github/actions/build-staticfs/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: build-staticfs
22
description: Builds the static filesystem partition and uploads it as an artifact
33
inputs:
4-
python-version:
5-
description: 'Python version to use'
6-
required: true
74
skip-checkout:
85
description: 'If true, skips checkout'
96
required: false
@@ -25,7 +22,6 @@ runs:
2522

2623
- uses: actions/setup-python@v5
2724
with:
28-
python-version: ${{ inputs.python-version }}
2925
cache: 'pip'
3026

3127
- name: Install dependencies

.github/actions/merge-partitions/action.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: merge-partitions
22
description: Merges multiple partitions into a single flashable binary
33
inputs:
4-
python-version:
5-
description: 'Python version to use'
6-
required: true
74
version:
85
description: 'Version of the firmware'
96
required: true
@@ -28,12 +25,11 @@ runs:
2825
2926
- uses: actions/setup-python@v5
3027
with:
31-
python-version: ${{ inputs.python-version }}
3228
cache: 'pip'
3329

3430
- name: Install dependencies
3531
shell: bash
36-
run: pip install esptool
32+
run: pip install -r requirements.txt
3733

3834
- name: Download static filesystem partition
3935
uses: actions/download-artifact@v4

.github/workflows/ci-build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
- uses: actions/checkout@v4
4848
- uses: ./.github/actions/build-staticfs
4949
with:
50-
python-version: ${{ env.PYTHON_VERSION }}
5150
skip-checkout: true
5251

5352
build-firmware:
@@ -62,7 +61,6 @@ jobs:
6261

6362
- uses: ./.github/actions/build-firmware
6463
with:
65-
python-version: ${{ env.PYTHON_VERSION }}
6664
board: ${{ matrix.board }}
6765
version: ${{ needs.getvars.outputs.version }}
6866
skip-checkout: true
@@ -85,7 +83,6 @@ jobs:
8583
8684
- uses: ./.github/actions/merge-partitions
8785
with:
88-
python-version: ${{ env.PYTHON_VERSION }}
8986
version: ${{ needs.getvars.outputs.version }}
9087
board: ${{ matrix.board }}
9188
skip-checkout: true

.github/workflows/codeql.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ jobs:
8686

8787
- uses: ./.github/actions/build-firmware
8888
with:
89-
python-version: 3.12
9089
board: ${{ matrix.board }}
9190
skip-checkout: true
9291

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12.5

requirements.txt

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)