From e508729a9755f7b940927a7b560a812050118bc6 Mon Sep 17 00:00:00 2001 From: Victor Fusco <1221933+vfusco@users.noreply.github.com> Date: Fri, 31 May 2024 13:27:14 -0300 Subject: [PATCH 1/2] ci: update upload-artifact action version --- .github/workflows/main.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fca4ef2..b46ef34 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -76,16 +76,6 @@ jobs: - name: Build rootfs run: make fs - - name: Upload [${{ env.TOOLS_DEB }}] - uses: actions/upload-artifact@v3 - with: - path: ${{ env.TOOLS_DEB }} - - - name: Upload [${{ env.TOOLS_ROOTFS }}] - uses: actions/upload-artifact@v3 - with: - path: ${{ env.TOOLS_ROOTFS }} - - name: Build [${{ env.TOOLS_LIBCMT }}] id: docker_build_libcmt uses: docker/build-push-action@v4 @@ -104,10 +94,14 @@ jobs: - name: Retrieve artifacts run: make copy-libcmt - - name: Upload [${{ env.TOOLS_LIBCMT }}] - uses: actions/upload-artifact@v3 + - name: Upload artifacts + uses: actions/upload-artifact@v4 with: - path: ${{ env.TOOLS_LIBCMT }} + if-no-files-found: error + path: | + ${{ env.TOOLS_DEB }} + ${{ env.TOOLS_ROOTFS }} + ${{ env.TOOLS_LIBCMT }} - name: Checksum artifacts if: startsWith(github.ref, 'refs/tags/v') From 237ddbaa282069b72b1b0db709cec54be00c2a27 Mon Sep 17 00:00:00 2001 From: Victor Fusco <1221933+vfusco@users.noreply.github.com> Date: Fri, 31 May 2024 13:30:02 -0300 Subject: [PATCH 2/2] ci: update docker setup and build actions --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b46ef34..1df86d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,11 +51,11 @@ jobs: run: make package.json - name: Buildx setup - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build [${{ env.TOOLS_DEB }}] id: docker_build - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . builder: ${{ steps.buildx.outputs.name }} @@ -78,7 +78,7 @@ jobs: - name: Build [${{ env.TOOLS_LIBCMT }}] id: docker_build_libcmt - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . builder: ${{ steps.buildx.outputs.name }}