2020 - name : Set up Docker Buildx
2121 uses : docker/setup-buildx-action@v2
2222 - name : Check out the repo
23- uses : actions/checkout@v3
23+ uses : actions/checkout@v4
2424 with :
2525 ref : ${{ inputs.checkout-sha == null && github.sha || inputs.checkout-sha }}
2626 fetch-depth : 0
5454 device_type : [ultra, lite]
5555 steps :
5656 - name : Check out the repo
57- uses : actions/checkout@v3
57+ uses : actions/checkout@v4
5858 with :
5959 ref : ${{ inputs.checkout-sha == null && github.sha || inputs.checkout-sha }}
6060 fetch-depth : 0
6464 run : |
6565 docker run --rm -v ${PWD}:/workdir -e CURRENT_DEVICE_TYPE=${{ matrix.device_type }} ghcr.io/${repo,,}-fw-builder@${{ needs.build_fw_builder.outputs.image_hash }} firmware/build.sh
6666 - name : Upload built binaries
67- uses : actions/upload-artifact@v3
67+ uses : actions/upload-artifact@v4
6868 with :
6969 name : ${{ matrix.device_type }}-firmware
7070 path : firmware/objects/*.hex
@@ -76,17 +76,17 @@ jobs:
7676 unzip firmware/objects/${{ matrix.device_type }}-dfu-app.zip -d firmware/objects/${{ matrix.device_type }}-dfu-app
7777 unzip firmware/objects/${{ matrix.device_type }}-dfu-full.zip -d firmware/objects/${{ matrix.device_type }}-dfu-full
7878 - name : Upload dfu app image
79- uses : actions/upload-artifact@v3
79+ uses : actions/upload-artifact@v4
8080 with :
8181 name : ${{ matrix.device_type }}-dfu-app
8282 path : firmware/objects/${{ matrix.device_type }}-dfu-app/*
8383 - name : Upload dfu full image
84- uses : actions/upload-artifact@v3
84+ uses : actions/upload-artifact@v4
8585 with :
8686 name : ${{ matrix.device_type }}-dfu-full
8787 path : firmware/objects/${{ matrix.device_type }}-dfu-full/*
8888 - name : Upload release artifacts
89- uses : actions/upload-artifact@v3
89+ uses : actions/upload-artifact@v4
9090 with :
91- name : release-artifacts
91+ name : release-artifacts-${{ matrix.device_type }}
9292 path : firmware/objects/*.zip
0 commit comments