Update Python and use actions/upload-artifact@v4

This commit is contained in:
Knutwurst
2024-01-12 10:14:58 +01:00
parent b92eda5b0d
commit 8c03cd38bf

View File

@@ -90,11 +90,10 @@ jobs:
steps: steps:
- name: Setup Python 3.7 - name: Setup Python
uses: actions/setup-python@v1 - uses: actions/setup-python@v5
with: with:
python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax. python-version: '3.x'
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Install PlatformIO - name: Install PlatformIO
run: | run: |
@@ -124,8 +123,10 @@ jobs:
# .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v*.hex # .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v*.hex
- name: Archive all artifacts into one ZIP file - name: Archive all artifacts into one ZIP file
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Knuwurst-all-in-one-${{github.sha}} name: Knuwurst-all-in-one-${{github.sha}}
pattern: Knuwurst-all-in-one-${{github.sha}}-*
+ merge-multiple: true
path: | path: |
.pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v*.hex .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v*.hex