download artifact and use it

This commit is contained in:
Peter Buchegger 2023-04-28 19:31:21 +02:00
parent fad4ecd153
commit 8142a6b144

View file

@ -126,11 +126,6 @@ jobs:
- board: 'board2'
port: '/dev/ttyUSB2'
steps:
- name: Setup Cache
uses: actions/cache@v3
with:
path: .pio
key: hw-cache
- name: Install PlatformIO
shell: bash
run: |
@ -138,5 +133,9 @@ jobs:
pip install --upgrade platformio
- name: Checkout code
uses: actions/checkout@v3
- name: Download a single artifact
uses: actions/download-artifact@v3
with:
name: build_folder
- name: PlatformIO Test
run: pio test -vv --upload-port ${{ matrix.port }} --test-port ${{ matrix.port }}
run: pio test -vv --without-building --upload-port ${{ matrix.port }} --test-port ${{ matrix.port }}