FOME-Tech / fome-fw

Free Open Motorsports ECU
https://www.fome.tech
Other
35 stars 17 forks source link

Update to upload artifact@v4 #359

Closed mi-hol closed 4 months ago

mi-hol commented 5 months ago

"build-libopenblt-linux" job uploads to a different path than expected by "build-firmware" jobs therefore they all fail. upload uses: path: ./deliver/libopenblt.so download uses: path: ./firmware/ext/openblt/Host/

2024-02-11 11_04_06-Bump actions_upload-artifact from 3 to 4 · FOME-Tech_fome-fw@fcd00b3 - Vivaldi

fail to understand how this worked with v3 😦

mck1117 commented 4 months ago

the upload vs. download describes what path to look for that file on the upload side, then where to place it on the download.

   - name: Download LibOpenBLT Tool (Linux)
      uses: actions/download-artifact@v4
      with:
        name: libopenblt-linux
        path: ./firmware/ext/openblt/Host/

means to download libopenblt-linux to ./firmware/ext/openblt/Host/

mck1117 commented 4 months ago

done in master